This is an API that was built using NestJS. It is a Rest API and can perform all rest functions . Users can make requests to retrieve, create, edit or delete information.
- Features
- Concepts Employed
- Built With
- Required Installations
- Instalation of This App
- Future Improvements
- License
- Contact
- Acknowledgements
- There is a user table with authentication
- THere is a groups table that contains a list of groups users can belong to
- There is a pivot user-group table that connects users to groups
- Associations
- Authentication (
cookie
andjwt
) - Foreign Keys
- Validations (
Pipes
andGuards
) - Emailing (
nodemailer
and@nestjs-modules/mailer
) - Handlebars Email Templating
- One time password (
otp
)
- NestJs
- Postgres
- Redis
- Docker
- node
- postgres
- redis
- docker (optional)
Once you have installed the requiered packages shown on the Required Installations, proceed with the following steps
Clone the Repository,
your@pc:~$ git clone https://github.com/frankly034/secret-santa-api.git
Move to the downloaded folder
your@pc:~$ cd secret-santa-api
Install all packages
your@pc:~$ npm install
To test
your@pc:~$ npm test
Ensure you have docker desktop installed
Clone the Repository,
your@pc:~$ git clone https://github.com/frankly034/secret-santa-api.git
Move to the downloaded folder
your@pc:~$ cd secret-santa-api
Run with docker-compose
your@pc:~$ docker-compose up
- ...
Distributed under the MIT License. See LICENSE
for more information.
- 🇳🇬 Lewis Ugege - franklynugege@gmail.com | Github Account | Twitter | Linkedin |