- Install dependencies
npm install
-
Import this database dump into MySQL
-
Create a .env file in the root directory with these contents. replace
<...>
with your credentials
PORT=9107
JWT_SECRET='secret-key'
DB_USER=<username to MySQL Server>
DB_PASS=<password to MySQL Server>
DB_HOST=localhost
DB_DATABASE=starwisp
DB_ENV=testing
- If you have
nodemon
installed globally, start the server with
npm start
- If not, start the server with
node .
- Serve React App
cd public
yarn serve
- Credentials
username | password |
---|---|
dsp9107 | pentagon |
All the entrypoints are defined here.
Root URL - http://localhost:9107/api