Coder Social home page Coder Social logo

cambalache-api's Introduction

Get Started

Prerequisites

You need to be using:

Docker Compose

This project is ready to work with docker-compose to initalize the needed stack during development process. To start working, run the following commands:

docker-compose build
docker-compose up

Environment Variables

Create an .env file in the root project and provide the following values:

PORT=3001

DATABASE_URL=postgresql://develop:[email protected]:5432/develop
REDIS_URL=redis://127.0.0.1:63

JWT_SECRET=somevaluetouse

Run locally

You need Node v16.15.0 Set versions manually or with nvm:

nvm use

Install the required libraries and packages dependencies

yarn install

Run prisma migrate and generate to use prisma client and types in proyect

yarn prisma:migrate
yarn prisma:generate

Run the development server

yanr dev

You can quickly have a look at the data of your local database and check if your app is working correctly with prisma studio

yarn prisma:studio

Production

You can create a production build with

yarn build

Documentation

Uou can access the documentation available in production

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.