Skip to content

AGF-Equipamentos/opms-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to my Backend Template 👋

A template for NodeJS backend projects

Languagues Top Languague Repository size Last commit date Repository issues License

Made by Arthur Pedroti Github - Arthur Pedroti Linkedin - Arthur Pedroti Email - Arthur Pedroti Fale comigo no whatsapp - Arthur Pedroti

Description   |    Languages   |    Technologies   |    Databases   |    Install   |    Usage   |    License

Description

This template was coded in Typescript, TypeORM and Express, contains a login with a password recovery system. Also, have a notifications provider with MongoDB and a Redis provider to be used for cache. The recovery password email system was setup with AWS SES for production and the profile avatar setup to be saved with AWS S3.For commits, we setup a config with commitlint/commitizen/husky and for. For code analyses, we are using ESLint and Prettier. For tests, we are using JEST. You can see at the technologies section, all dependencies we are using.

To use this template you will need to configure the files bellow:

  • ormconfig.json
  • .env

It also has an insomnia file with the api docs to test all the login features, only need to reconfigure the "Response => Body Attribute" with the Request route.

Utils: Generating the app_secret: http://www.md5.cz/ (type some random text and generate a hash) AWS credentials: Take it creating a new user on Amazon

💻 Languages

  • #TypeScript

📚 Technologies

  • #Express
  • #TypeORM
  • #ESLint
  • #Prettier
  • #AWS S3
  • #Multer
  • #AWS SES
  • #Celebrate
  • #JWT
  • #Nodemailer
  • #Handlebars
  • #TSringe
  • #ioRedis
  • #rate-limiter-flexible
  • #Commitlint
  • #Commitizen
  • #Husky

🗄️ Databases

  • #Postgres
  • #MongoDB
  • #Redis

Install

Init your repository before install, or you will need to reinstall husky.

yarn install

Usage

yarn dev:server

Author

👤 Arthur Pedroti

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2020 Arthur Pedroti.
This project is MIT licensed.


Made by 💙 by Arthur Pedroti

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •