Giter VIP home page Giter VIP logo

eventsapp's Introduction

EventsApp

To run this app follow the next steps

  1. Clone this repository.

Step A: Install and Run the API

  1. Run
cd events-api

to enter directory.

  1. Run
npm install

to download dependencies.

  1. Run
touch .env

to create .env file.

  1. Add database url on your .env file
DATABASE_URL: [YOUR POSTGRES DATABASE URL]

to be able to connect to your database.

  1. Run
npx prisma migrate dev

to run migrations.

  1. Run
npm start

to run the server.

  1. The api will be running on http://localhost:4000.

  2. Access http://localhost:4000/api-docs to visit documentation.

Step B: Install and Run the Client

  1. Run
cd events-client

to enter directory.

  1. Run
npm install

to download dependencies.

12.. Run

npm start

to run the client.

  1. Access http://localhost:3000 to visit client.

Testing API with JEST:

  • To test the api run:
cd events-api
npm test

Implemented Features:

  • CRUD operations with Users and Events.
  • Search Users and Events.
  • Testing with Jest.
  • OpenAPI documentation.

eventsapp's People

Contributors

lucasmorettorodrigues avatar

Watchers

 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.