Before running the server, ensure you have the following dependencies installed:
- Node.js: Download Node.js
- MySQL Server: Download MySQL Server
git clone https://github.com/your-username/nthtrack-server.git
cd issue-tracker
npm install
- Rename
.env.sample
to.env.development
- Update the file with your configuration:
# Node env
NODE_ENV=development
# Port
PORT=5000
# Database
DATABASE=<your_database>
DATABASE_USER_NAME=<database_username>
DATABASE_PASSWORD=<database_password>
HOST=<host>
DIALECT=mysql
# JWT
ACCESS_TOKEN_SECRET=<access_token_secret>
REFRESH_TOKEN_SECRET=<refresh_token_secret>
- For a normal server:
npm run start
- For a development server:
npm run dev
- Node.js
- Express
- Sequelize ORM
- MSSQL
- Socket.io
- JWT