Skip to content

This project serves as the backbone for the CampoEventos web app, providing users with access to live-streamed livestock auctions and the ability to make pre-auction offers.

Notifications You must be signed in to change notification settings

lopezrunco/campo-eventos-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API REST with Express framework

This project serves as the backbone for the CampoEventos web app, providing users with access to live-streamed livestock auctions and the ability to make pre-auction offers.

Instructions

Create .env file with the environment variables

PORT=3000
JWT_KEY=5tj567trgh567456h
DB_HOST=clustername.abcdefg.mongodb.net
DB_PORT=27017
DB_NAME=dbname
DB_USER=username
DB_PASSWORD=password
# Install dependencies
npm i

# Insert test data
npm run seed

# Start API
npm start

# Run a global test
npm test

# Run a test in a specific file
npm test check-user-role.test.js

About

This project serves as the backbone for the CampoEventos web app, providing users with access to live-streamed livestock auctions and the ability to make pre-auction offers.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published