NotDiscord - A Discord clone made with React
About The Project
SoonTM
Built With
Getting Started
To get a local copy up and running follow these simple example steps.
Prerequisites
This is an example of how to list things you need to use the software and how to install them.
- Node.js
https://nodejs.org/en/download/
- yarn
npm install yarn -g
- MongoDB
https://www.mongodb.com/docs/manual/installation/
Installation
Clone the repo
git clone https://github.com/eckzzo/notdiscord.git
Server
- Install packages
yarn install
- Copy the .env.example
yarn copy-env
- Fill the .env file
PORT= JWT_SECRET= MONGO_URI=
- Start the server
yarn dev
Web
This package is dependant on the server
- Install packages
yarn install
- Copy the .env.example
yarn copy-env
- Fill the .env file
NEXT_PUBLIC_GRAPHQL_ENDPOINT=
- Get the GraphQL Schema from the server
The server must be running before you run this command
yarn get-schema YOUR_GRAPHQL_ENDPOINT
- Generate relay types
yarn relay
- Start!
yarn dev
Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag “enhancement”. Don’t forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Contact
Eckzzo#8147 (discord) – ivan.levenhagen@outlook.com
Project Link: https://github.com/eckzzo/notdiscord
Acknowledgments
- Radix
- Stitches
- Tailwind
- README Template
- jantimon for the NextJS Relay implementation demo!
- sibelius for the amazing Relay Workshop!