Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 2 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 6 years ago)
- Default Branch: master
- Last Pushed: 2024-05-22T11:39:06.000Z (7 months ago)
- Last Synced: 2024-05-22T12:46:01.446Z (7 months 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
[![Travis CI](https://travis-ci.com/scriptex/node-rest-api.svg?branch=master)](https://travis-ci.com/scriptex/node-rest-api)
[![Github Build](https://github.com/scriptex/node-rest-api/workflows/Build/badge.svg)](https://github.com/scriptex/node-rest-api/actions?query=workflow%3ABuild)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/34d3d75710534dc6a38c3584a1dcd068)](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)
[![Codebeat Badge](https://codebeat.co/badges/d765a4c8-2c0e-44f2-89c3-fa364fdc14e6)](https://codebeat.co/projects/github-com-scriptex-node-rest-api-master)
[![CodeFactor Badge](https://www.codefactor.io/repository/github/scriptex/node-rest-api/badge)](https://www.codefactor.io/repository/github/scriptex/node-rest-api)
[![DeepScan grade](https://deepscan.io/api/teams/3574/projects/5257/branches/40799/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=3574&pid=5257&bid=40799)
[![Analytics](https://ga-beacon-361907.ew.r.appspot.com/UA-83446952-1/github.com/scriptex/node-rest-api/README.md?pixel)](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
![GitHub stars](https://img.shields.io/github/stars/scriptex/node-rest-api?style=social)
![GitHub forks](https://img.shields.io/github/forks/scriptex/node-rest-api?style=social)
![GitHub watchers](https://img.shields.io/github/watchers/scriptex/node-rest-api?style=social)
![GitHub followers](https://img.shields.io/github/followers/scriptex?style=social)## Code stats
![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/scriptex/node-rest-api)
![GitHub repo size](https://img.shields.io/github/repo-size/scriptex/node-rest-api?style=plastic)
![GitHub language count](https://img.shields.io/github/languages/count/scriptex/node-rest-api?style=plastic)
![GitHub top language](https://img.shields.io/github/languages/top/scriptex/node-rest-api?style=plastic)
![GitHub last commit](https://img.shields.io/github/last-commit/scriptex/node-rest-api?style=plastic)## 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:
---