- Node.js, KoaJS, Sequelize and MySQL + JWT Authentication and Authorization
- ReactJS, React Router 6
-
Clone this repository
-
Install the npm packages
npm install
Also install
nodemon
globally, if you don't have it yet.npm install -g nodemon
-
Congfigure environment settings
Create a file with the following name and location
.env
and copy the contents from.env.default
into it. Replace the values with your specific configuration.NODE_ENV=development PORT=8080 # Database DB_HOST=your-db-host DB_USER=your-db-username DB_PASS=your-db-password DB_NAME=your-db-name
-
Running the app locally
Run this command, which is located in npm script in
package.json
file.npm run run