-
Notifications
You must be signed in to change notification settings - Fork 2
Setup
Adharsh Kamath edited this page Jun 30, 2020
·
1 revision
- Clone this repository.
- Install MySQL if you don't have it already. Follow any of these to install MySQL.
- Import the SQL dump:
mysql -u <USERNAME> -p <DB NAME> < <dump file path>
- Install Redis and start the service. Follow these instructions.
- Make sure you have node and npm installed. Follow this to install them.
- Create a .env file in the server folder. Copy the contents of .env.example and paste it in .env, and fill in the appropriate values.
- Run
npm install
in the server and client folders to install the dependencies. - Run the server and client both in different terminal sessions with
npm start
. The client should have started on localhost:3000 and the server on localhost:4000, which opens an interactive GraphQL Playground in the browser.