Skip to content

Back end da agenda, feito em NodeJs, com Typescript e PostgreSQL

Notifications You must be signed in to change notification settings

AmauriOliveira/Agenda-Back-End

Repository files navigation

SonarCloud

Quality Gate Status Code Smells Lines of Code Bugs Maintainability Rating Security Rating Vulnerabilities

banner

Calendário de Eventos BackEnd

Back-end feito em NodeJS para ser API REST de uma SPA

GitHub last commit license GitHub repo size

Documentação dos EndPoints

Documentação

🔭 Overview

🏠 Homepage Uma API Rest feita em NodeJS com Typescript, utilizada como back-end de uma Calendário de Eventos, onde uma SPA feita em ReacJS faz o consumo dos Endpoints

💻 Techs

  • NodeJS
  • TypeScript
  • JsonWebToken
  • Yup
  • Typeorm
  • express
  • bcryptjs

Instalação

Execute o comando para baixar e instalar os pacotes

git clone https://github.com/AmauriOliveira/Agenda-Back-End.git
cd Agenda-Back-End
yarn

Banco de dados

Foi utilizado uma container Docker

docker run --name DB-postgres -d -p 5432:5432 -e POSTGRES_PASSWORD=amauri32 postgres

A Database se chama desafio, porem pode ser mudado nas config do ormconfig.json

Execulte as migration

Preciso utilizar para gerar as tabelas do banco de dados

yarn typeorm migration:run

Executando a API

A port pode ser pelo process.env.PORT

Deve criar uma arquivo .env com a SECRET_MD5 assim como no exemplo .env.example

Modo Dev

yarn dev

Server

yarn start

Build

yarn build

🌟 Contributing

Contributions, issues and feature requests are welcome!

  • ⭐️ Star the project
  • 🐛 Find and report issues
  • 📥 Submit PRs to help solve issues or add features

Feel free to check issues page. You can also take a look at the contributing guide.

🙇 Author

Amauri Antonio de Oliveira <amauriibate32@hotmail.com>

📚 License

Copyright © 2020 Amauri Antonio de Oliveira <amauriibate32@hotmail.com> This project is MIT licensed.

About

Back end da agenda, feito em NodeJs, com Typescript e PostgreSQL

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages