Giter Site home page Giter Site logo

leualmeida / devfit.backend Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 1.0 2.36 MB

๐Ÿ” Client management backend application for gym networks.

License: MIT License

JavaScript 61.11% HTML 38.89%
backend api rest nodejs gympoint gobarber rocketseat devfit gym javascript

devfit.backend's Introduction

Devfit

Devfit: API Rest ๐Ÿ”‘

An API rest created with NodeJS by Lรฉu Almeida with ๐Ÿ’› and โ˜•

GitHub language count Made by Lรฉu Almeida License


โœ”๏ธ Stack

Dependencies Security and Prevent errors
Nodemon Bcrypt
Bee-queue Dotenv
Express Handlebars Express-async-errors
Pg and pg-hstore JWT
Sequelize Sentry
Express Handlebars Youch
Yup

โœ… About the API

This API is based on Express for the overall structure, uses PostgreSQL for data storage, Redis for queue data control in conjunction with Bee-queue, and Sentry for error control and internal problem maintenance.
Functions general features that use SMTP to trigger e-mails are done through nodemailer using express-handlebars and nodemailer-express-handlebars are kept in the src/app/views/emails folder.

๐Ÿ”Œ Preparing the server

Requeriments:

  • NodeJS >= 10.16.3
  • Yarn >= 1.19.1
  • Docker >= 19.03.3
// Docker run PostgreSQL on 5434 port (change the <postgresname> and <password>)
$ sudo docker run --name <postgresname> -e POSTGRES_PASSWORD=<password> -p 5432:5432 -d postgres:11

// Docker run Redis on 5434 port (change the <redisname>)
$ sudo docker run --name <redisname> -p 6378:6379 -d -t redis:alpine

///////////////////////// DON'T FORGET TO CHANGE THE .ENV FILE ///////////////////////////

๐Ÿ”„ Running the application

// Clone the project
$ git clone https://github.com/LeuAlmeida/devfit.backend.git

// Entering the folder
$ cd devfit.backend

// Installing the dependencies
$ yarn

In the first terminal:

$ yarn dev

In the second terminal:

$ yarn queue

ยฉ๏ธ Logo design by Lucas Ribeiro

Color Scheme

#806600 | #FFDB4D | #FFCC00 | #827E65E | #CCA300

devfit.backend's People

Contributors

leualmeida avatar wenderson-p avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

wenderson-p

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.