Bug tracking tool. Heroku deployable.
Server app - REST api built using Node, Express and Mongo Client app - built with React, Redux and Bootstrap
App requires .env file to run locally. Environment variables must be set while deploying it to Heroku. Example:
MONGOLAB_URI=CONNECTION_STRING
SECRET=A_SECRET_PHRASE
SERVER_PORT=3030
APP_WEB_PORT=3040
Then just run:
npm install
npm start # run both server and web client
npm run dev # run server with nodemon and web client
npm run server # run just server
npm run dev-server # run just server with nodemon
npm run ui # run just UI
List of available projects:
GET /issues/projects
Fetch all issues issues. Response is paginated. Optional query parameters: page and limit. Required: project name
GET /issues/:project
Create new Issue in project.
POST /issues/:project
Retrieve issue comments. Endpoint not paginated yet.
GET /issues/:issueId/comments
Create a comment for issue:
POST /issues/:issueId/comments
Delete comment for issue:
DELETE /issues/comments/:commentId
Receive single issue by _id
GET /issues/details/:id
Update Issue
PUT /issues/details/:id
Delete Issue
DELETE /issues/details/:id
Receive app settings - values for priority and status. Currently can be changed only by code change.
GET /settings
Creating new user
POST /users/register
Updating user
POST /users/update-user
User details (default project and display name) by email
GET /users/user/email
Login
post /users/login
Logout
post /users/logout
Refresh token
post /users/refresh_token
Damian Pagowski. Email: d.pagowski@gmail.com
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.