Giter Site home page Giter Site logo

gympoint's Introduction

Gympoint

Bootcamp application

GitHub top language GitHub language count Codacy grade Stargazers Repository size GitHub last commit

Overview

This is a repository made in bootcamp gostack of Rocketseat.

This is an application ...

Preparing and running application

Cloning repository:

  ~ git clone https://github.com/ArthurJFreitas/GymPoint.git
  ~ cd GymPoint/

Installing dependencies:

  ~ yarn install
  or
  ~ npm install

Setting up database

To the database you need to have a SQL database remote or localy. All sensible configs should be setted in environment as environments variables.

To make this localy, just create a .env file in root of application and put the values like the template .env.example file with the values that you want.

DB_HOST=localhost
DB_USER=postgres
DB_PASS=gympoint
DB_NAME=gympoint

Preparing database

To prepare the database, you need to use Sequelize CLI, so to create and prepare database to use, just run:

  ~ yarn sequelize db:create
  ~ yarn sequelize db:migrate
  ~ yarn sequelize db:seed:all

If database already exists, just run the bellow command to delete it.

  ~ yarn sequelize db:drop

Using Docker and Docker Compose

You can set your database with Docker and Docker Compose, using the follow commands:

  ~ cd ..
  ~ docker-compose up -d

๐Ÿ“ License

This project is under the MIT license. See the LICENSE for more information.


Arthur Junio ๐Ÿ‘‹ Get in touch!

gympoint's People

Contributors

arthurjfreitas avatar

Stargazers

 avatar  avatar

Watchers

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