Model for building an REST API. The model has user table creation, authentication and use of JsonWebToken.
- TypeScript
- Eslint and Prettier
- Express
- Typeorm
- JsonWebToken
- Dotenv
- Create a
.env
file based on the.env.example
file - Add the token Secret and the Database info in the
.env
file - Run
yarn
to add the dependencies - Run
yarn dev
to run the application onhttp://localhost:3333