Skip to content

chingu-voyages/v13-solo-Damian

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Insect - Simple Issue Tracker

Bug tracking tool. Heroku deployable.

Server app - REST api built using Node, Express and Mongo Client app - built with React, Redux and Bootstrap

Installation

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

Running app

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

Server: API DOC

Issues

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

Application settings

Receive app settings - values for priority and status. Currently can be changed only by code change.

GET /settings

User Authentication

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

Author

Damian Pagowski. Email: d.pagowski@gmail.com

Contributing

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.

License

MIT

Releases

No releases published

Packages

No packages published