An open API service indexing awesome lists of open source software.

https://github.com/arjunan-k/typest

Typest is a Typescript Rest API build on MongoDB database using Node and Express.
https://github.com/arjunan-k/typest

express mongodb nodejs rest-api typescript

Last synced: 2 months ago
JSON representation

Typest is a Typescript Rest API build on MongoDB database using Node and Express.

Awesome Lists containing this project

README

        

#

TYPEST

Typest is a Typescript Rest API build on MongoDB database using Node and Express.

Features:

- Environment, Typescript, Nodemon setup
- MongoDB & Mongoose connect, Database creation
- Controllers creation
- Middlewares creation
- Cookie based authentication
- Postman testing
- Create, Read, Update and Delete - CRUD

### Prerequisites

**Node version 14.x**

### Cloning the repository

```shell
git clone https://github.com/arjunan-k/Typest
```

### Install packages

```shell
npm i
```

### Setup MongoDB URL

In `src/index.ts`:

```js
const MONGO_URL = ""; // DB URI
```

### Start the app

```shell
npm start
```

## Available commands

Running commands with npm `npm run [command]`

| command | description |
| :------ | :--------------------------------------- |
| `start` | Starts a development instance of the app |

Back to top