- Clone the repository
- Open cloned directory in terminal
- Navigate to server directory using
cd server
- Run
npm install
to install all serverpackages - Start the server using
npm start
- Navigate to client directory using
cd ../client
- Run
npm install
to install all client packages - Start the client using
npm start
- Client will start at
http://localhost:3000
. Open this address in the browser to view it.
If you want to import the current version of the Moseeqi schema:
- Open MySQL Workbench
- Create a schema named
moseeqi
- Go to
Server > Data Import
- Choose the
Import from Self-Contained File
option - Browse to this project directory and select
moseeqi.sql
underserver/schema
- Click
Start Import
If you want the Node server to restart automatically after every save:
- Install nodemon using
npm install -g nodemon
- Instead of
npm start
, usenodemon index.js