Skip to content

davidspector67/TaskMapAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TaskMap Tree-Structured API

Description

This is a NestJS API, which is indended to serve as the backend of a full stack user-based tree-structured task organization web application in the future. It was developed using Test-driven development (TDD).

The application uses long lived JSON Web Token (JWT) authentication and bcrypt password hashes to store user data. It uses the TypeORM library to connect to a local SQL database containing all user, project, and subproject data. Finally, all HTTP requests are displayed in Swagger UI.

Installation

First, in order to run TaskMap, you will need to install GNU Make.

Next, run the following commands to get the application up and running.

git clone https://github.com/davidspector67/TaskMap
cd TaskMapAPI
cp sample.env .env
cd Backend
make

This will start up the backend and database. From here, HTTP requests can be made directly to the API via the command line, or via the Swagger UI representation. This UI can be accessed at the URL: http://localhost:9000/api#/ where 9000 is the port used in your .env file. If you use a different port, adjust the above URL accordingly.

To run the test cases of this program, run the same code as above, except replace the make command with make run_tests. The first run of the test program will not pass all cases, but all subsequent runs should pass all cases.

Acknowledgements

This application was inspired by a NestJS API developed by Brandon Shihabi as part of a group project.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published