- Clone the repository
- Open cloned directory in terminal
- Navigate to server directory using
cd server - Run
npm installto install all serverpackages - Start the server using
npm start - Navigate to client directory using
cd ../client - Run
npm installto 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 Fileoption - Browse to this project directory and select
moseeqi.sqlunderserver/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