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.
- Host: GitHub
- URL: https://github.com/arjunan-k/typest
- Owner: arjunan-k
- Created: 2023-07-17T17:19:07.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-23T17:54:04.000Z (almost 2 years ago)
- Last Synced: 2025-01-09T11:09:13.882Z (4 months ago)
- Topics: express, mongodb, nodejs, rest-api, typescript
- Language: TypeScript
- Homepage:
- Size: 43.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
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 |