Skip to content

NailsonCodens/golden-raspberry-awards

Repository files navigation

Golden Raspberry Awards

The list of nominees and winners of the Worst Picture category at the Golden Raspberry Awards.

Getting Started

Localhost endpoint: localhost:3000/v1/award/intervals

Requirement

  • NodeJs 18:00 ou higher;

Setup application

  • NodeJs 18:00 ou higher ✅;
  • TypeScript ✅;
  • Prisma ✅;
  • Fastify ✅;

How it Works

Clone the repository

https://github.com/NailsonCodens/golden-raspberry-awards

Install the dependencies

npm install

Make a copy of .env.example and rename the copy as .env

sudo cp .env.example .env

Add the values ​​in the environment variables

NODE_ENV=dev
PORT=3000
DATABASE_URL="file:./dev.db"

Run in localhost

npm run dev 

Where are hte csv list?

Development mode
src/data/move-list.csv 
Build mode
build/data/move-list.csv 

Run e2e tests

npm run test:e2e 

Run build

npm run build

Run the build version

node build/server.js

Obrigado pela oportunidade de participar deste teste Outsera!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published