Skip to content

washingtonserip/ListAppAPI

Repository files navigation

ListApp.me - Back-end

API Rest for list app in NodeJS using TypeScript and MongoDB.

Front-end project: https://github.com/washingtonbr/ListApp

Environment Variables

Create the .env.development and .env.production files similar to the .env.example in environments folder.

Build setup

First install Node.js.

# Install
$ npm install

# Running on development
$ npm run dev

# Running on development with Nodemon
$ npm run watch:dev

Docker container for production

Build with Docker:

# Create image
$ sudo docker build -t list-app .

# Running container
$ sudo docker run --env-file ./environments/.env.production -d -p 3000:3000 list-app

Testing with Postman

Import the postman_collection.json and postman_environment.json files of postman folder on your Postman.

Postman

For details, see the collections and environments documentation.

About

A simple list API using TypeScript + Express.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published