Giter VIP home page Giter VIP logo

vimox-api's Introduction

GxAnime-api

This repository is the backend base of vimox

Branches

  • develop -> any pull request of changes this branch
  • main -> don´t modify, this is what is running in production

How to run locally

$ npm install
$ npm run dev

Set enviroment variables .env.development | .env.production

DB_NAME=
DB_USER=
DB_PASSWORD=
DB_HOST=
SECRET_JWT=
SECRET_REFRESH_JWT=
SECRET_RESET_PASSWORD=
SENDGRID_API_KEY=
ORIGIN_CLIENTS=
SENDGRID_CLIENT=
Name Description Example
DB_NAME Database name mongo
DB_USER Database user mongo
DB_PASSWORD Database password mongo
DB_HOST Database host mongo
SECRET_JWT Secret key to sign the token
SECRET_REFRESH_JWT Secret key to sign refresh token
SECRET_RESET_PASSWORD Secret key to sign password reset token
SENDGRID_API_KEY Api key of Sendgrid
ORIGIN_CLIENTS Whitelist of clients that will not be blocked by cors http://localhost:3000 or http://localhost:3000~http://localhost:4000
SENDGRID_CLIENT Frontend client url http://localhost:3000

How to create an administrator

$ npm run scripts

And select option Create user admin

vimox-api's People

Contributors

alexgarrixen avatar kukulhubismv 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.