English | Português
Back-end project developed in Labenu's bootcamp
LAMA is a REST API to manage the Labenu Music Awards, a festival with several bands for my class graduation! 📻
1- clone this repository
2- run this command
npm install
3- create .env file on the root directory of the project with this data:
// your database
DB_HOST =
DB_USER =
DB_PASSWORD =
DB_DATABASE_NAME =
//your key and time expire preferences
JWT_KEY =
JWT_EXPIRES_IN =
//your cost preference
BCRYPT_COST =
4- run this command
npm run setup
5- now this one
npm start
6- YOU'RE ICE CREAM IS READY!!!
npm run setupto create tablesnpm run startto run the applicationnpm run devto run the application with hot reloadnpm run testto test the application
- Sign up
- Login
- Register a band
- Create a show
- Search for a band by its id or name
- Ver os shows de determinado dia
- cors
- express
- knex
- mysql
- dotenv
- uuid
- jsonwebtoken
- bcryptjs
- jest
Developed with 💜 by Nicole Zolnier
English | Português
Projeto back-end desenvolvido no bootcamp da Labenu.
LAMA é uma API REST para gerenciar o Labenu Music Awards, um festival com várias bandas para a formatura da minha turma! 📻
1- clone ese repositório
2- rode o comando abaixo
npm install
3- crie um arquivo .env na raíz do projeto com esses dados:
//dados do seu banco
DB_HOST =
DB_USER =
DB_PASSWORD =
DB_DATABASE_NAME =
//suas preferências para key e expire
JWT_KEY =
JWT_EXPIRES_IN =
//suas preferências de cost
BCRYPT_COST =
4- rode esse comando:
npm run setup
5- agora esse
npm start
6- TÁ PRONTO O SORVETINHOOOOO!
npm run setuppara criar as tabelasnpm run startpara rodar a aplicaçãonpm run devpara iniciar a aplicação com hot reloadnpm run testpara testar a aplicação
- Cadastro
- Login
- Registrar uma banda
- Criar um show
- Procurar por uma banda com base no id ou nome
- Ver os shows de determinado dia
- cors
- express
- knex
- mysql
- dotenv
- uuid
- jsonwebtoken
- bcryptjs
- jest
Desenvolvido com 💜 por Nicole Zolnier