https://github.com/scriptex/node-rest-api
Node REST API with Express, MongoDB and Typescript
https://github.com/scriptex/node-rest-api
express nodejs rest-api
Last synced: 10 months ago
JSON representation
Node REST API with Express, MongoDB and Typescript
- Host: GitHub
- URL: https://github.com/scriptex/node-rest-api
- Owner: scriptex
- License: mit
- Created: 2018-07-27T11:59:07.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-05-22T11:39:06.000Z (over 1 year ago)
- Last Synced: 2024-05-22T12:46:01.446Z (over 1 year ago)
- Topics: express, nodejs, rest-api
- Language: TypeScript
- Homepage: https://atanas.info/portfolio/open-source/node-rest-api
- Size: 2.33 MB
- Stars: 14
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.com/scriptex/node-rest-api)
[](https://github.com/scriptex/node-rest-api/actions?query=workflow%3ABuild)
[](https://www.codacy.com/gh/scriptex/node-rest-api/dashboard?utm_source=github.com&utm_medium=referral&utm_content=scriptex/node-rest-api&utm_campaign=Badge_Grade)
[](https://codebeat.co/projects/github-com-scriptex-node-rest-api-master)
[](https://www.codefactor.io/repository/github/scriptex/node-rest-api)
[](https://deepscan.io/dashboard#view=project&tid=3574&pid=5257&bid=40799)
[](https://github.com/scriptex/node-rest-api/)
# Store REST API using NodeJS, Express and MongoDB
This is a Typescript port of the awesome REST API tutorial which can be found here: https://github.com/academind/node-restful-api-tutorial/tree/13-controllers/.
## Visitor stats




## Code stats





## Usage
Create a `.env` file using the `.env.example` file and add your [Mongo Atlas](https://www.mongodb.com/cloud/atlas) admin password:
```sh
ATLAS_PWD=
JWT_KEY=secret
ROOT=http://localhost
PORT=3000
```
## Install dependencies
```sh
npm i
# or
yarn
```
## Run in development mode
```sh
npm start
# or
yarn start
```
## Build for production
```sh
npm run build
# or
yarn build
```
## LICENSE
MIT
---
Connect with me:
---