Table of Contents
O Donko é uma aplicação web que será projetada para ser uma plataforma completa que serve como guia para eventos culturais, desde shows musicais até exposições de arte, teatro e outras opções de entretenimento.
- NodeJS
- Typescript
- Express
- SQL e SQLite
- Knex
- POO
- Layered architecture
- UUID
- Password hashed
- Autentication and autozrization
- Router
- Postman
Ducumentation of the API with instrutions on how to use the endpoints avalible for the Labeddit aplication
-
Endpoints
- Users
- Create new User
- Login User
- Edit User
- Delete user
- Events
- Get All Events
- Create new Event
- Edit Event
- Delete Event
- Users
-
Authentication and authorization
- UUID
- Hashed passwords with Bcrypt.
- tokens JWT
-
Code
- POO
- Layered architecture
- Router in Express
- SOLID
- Clean code
Requests for the API must follow HTTP RESTful patterns.
Methods | Description |
---|---|
GET |
Returns information for one or more records. |
POST |
Used to create a new record or login access. |
PUT |
Updates data for a record or changes its status. |
PATCH |
Partially updates data for a record. |
DELETE |
Removes a record from the system. |
Código | Descrição |
---|---|
200 |
Request successfully executed (success). |
201 |
Data created successfully (success). |
400 |
Validation errors or fields provided do not exist in the system. |
404 |
Searched record not found (Not found). |
409 |
The user already exists in the system. (Conflict). |
500 |
Unexpected error. |
Here is an example of instructions on how to set up the project locally. To have a local copy, follow the steps below:
- Clone repository
git clone https://github.com/Afmjuniors/labeddit-back.git
- Install NPM TypeScript packages
npm init -y (create package.json)
npm i -g typescript (just once)
npm i typescript -D (install typescript in the project)
npx tsc -init (create tsconfig.json)
- Install All Packjson dependencies
npm install
- Run NPM developer
npm run dev
O Donko é uma aplicação web que será projetada para ser uma plataforma completa que serve como guia para eventos culturais, desde shows musicais até exposições de arte, teatro e outras opções de entretenimento.
To see repository of this application Front-end
Alexandre Machado - FullStack - afmjuniors@gmail.com
Samantha Bianchi- Front - sahlsb2@gmail.com
Marina Jaudy - UI/UX - Front - mbuzina@hotmail.com
Mônica Jesus - ADM - monicajprado@outlook.com
- Gostaria de agradecer a todo time que participou comigo do hackthon, vocês foram feras
- Gostaria tambem de acredecer ao staff do hackthon, pricipalmente ao Johnny que nos aconcelhou sempre que necessario