Skip to content

Walber2903/event-plataform-node-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Event in

Event in is an application for managing participants in in-person events.

The tool allows the organizer to register an event and open a public registration page.

Registered participants can issue a credential for check-in on the day of the event.

The system will scan the participant's credentials to allow entry to the event.

Requirements

Functional requirements

  • The organizer must be able to register a new event;
  • The organizer must be able to view data from an event;
  • The organizer must be able to view the list of participants;
  • The participant must be able to register for an event;
  • The participant must be able to view their registration badge;
  • The participant must be able to check-in to the event;

Business rules

  • Participants can only register for an event once;
  • Participants can only register for events with available places;
  • Participants can only check in to an event once;

Non-functional requirements

  • Check-in at the event will be carried out using a QRCode;

Database

In this application we will use a relational database (SQL). For the development environment, we will continue with SQLite due to the ease of the environment.

ERD Entity Relationship Diagram

erd

How to test project

1- Donwload source code of the project with the green button. image

2- Open the folder in your prefered code editor, in my case, VS CODE. image

3- With VS Code opened go to the terminal follow the path view -> terminal or press Ctrl+`. image

4- If you don't have NODE.JS installed on you pc, you need to install to your platform through the link: https://nodejs.org/en/download

5- Now you have to run the migrates, to create database running the following command: npm run db:migrate image

6- After created database you need to populate him, with the following command: npm run db:seed image

7- You can seed the database with prisma studio already incorporated to the project with the command: npm run db:studio image

8- In another terminal, you need to start the server with the command: npm run start image

9- You can also see the API documentation with prisma-swagger with the address and test the connection from there: http://localhost:3003/docs image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors