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

https://github.com/nelsonwenner/node-typescript-api-auth

:closed_lock_with_key: Node typescript api auth
https://github.com/nelsonwenner/node-typescript-api-auth

authentication docker docker-compose express jest mogodb nodejs swagger tests typescript

Last synced: 3 months ago
JSON representation

:closed_lock_with_key: Node typescript api auth

Awesome Lists containing this project

README

          

NODE TYPESCRIPT API AUTH


GitHub language count


Made by @nelsonwenner

License


Stargazers

## :rocket: Technologies

* [Typescript](https://www.typescriptlang.org/)
* [NodeJS](https://nodejs.org/en/)
* [Mongo](https://www.mongodb.com/)
* [Docker](https://www.docker.com/)

## :electric_plug: Prerequisites

- [NodeJS LTS (>= 12.x)](https://nodejs.org/)
- [Docker (>= 19.03.x)](https://docs.docker.com/engine/install/ubuntu/)
- [Docker Compose (>= 1.05.x)](https://docs.docker.com/compose/install/)

## :information_source: Getting Started

1. Fork this repository and clone it on your machine.
2. Change the directory to `node-typescript-api-auth` where you cloned it.

## :whale2: Docker Getting Started

```shell
/* Run docker */
$ docker-compose up -d

/* Down docker */
$ docker-compose down
```

## :closed_lock_with_key: Backend Getting Started

```shell
/* Create `.env` of the system */
$ cp .env.example .env

/* Install dependencies */
$ npm install

/* Run the development server /*
$ npm run dev

/* Run the production server /*
$ npm run start
```
* Open backend, the host [localhost:3333](http://localhost:3333)

## :spiral_notepad: Swagger

To access the API documentation, with the server running, access [http://localhost:3333/docs](http://localhost:3333/docs)

## :memo: License
This project is under the MIT license. See the [LICENSE](LICENSE.md) for more information.

---