Giter VIP home page Giter VIP logo

event-finder's Introduction

EVENT FINDER

Find the nearest event based on your current location using Event Finder.

About Project

This project is created with the intention of study backend concepts and learn about organization and documentation. Since i´m attending some presencial events i had this idea: "Create an app where the person can find a event nearby and filter by range."

Technologies

  • NodeJS 18.x
  • Typescript
  • Prisma
  • Fastify
  • Vitest

How to run

1 - Docker

  • Install Docker through docker website
  • After installing, open project terminal and run the following command to create the container with the database:
      docker-compose up
    

2 - Prisma

  • After installing docker and run the container, the next step is setup the database.
  • Since the migrations are already on project you can just run the prisma command to create the tables:
      npx prisma migrate dev
    

3 - Running the service

  • After completing the previous steps you can run the command:
      npm run start:dev
      or
      yarn start:dev

Postman Collection

  • SOON!

Technical Documentation

This part of our readme will tell a little more about of database structuring and some decisions, but in future i will try to create more specific explaining each of my decisions.

1 - Database structuring

  • The idea of the project is being simple and objective, i know the idea can become much more complex but the in this case i wanted to start with a simple step.

  • Since it has been told, i'm trying to fill some gaps of knowledge i have in my formation, and one of those gaps is: structuring a database.

  • I know my structuring in this project will not be perfect, but i´m trying to improve while i continue studying the theme on other online courses.

  • This is the ER Diagram of my database: Alt text

  • The major idea here was, i need to register a user, a event and make a reservation.

  • I tried to keep it without creating a lot of fields, i tried to keep it simple and small, only using the necessary.

2 - Routes Documentation

  • SOON!

event-finder's People

Contributors

brunoodlighthouse avatar

Watchers

Bruno Domingues avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.