Giter Site home page Giter Site logo

ututor_backend's Introduction

uTutor BackEnd

SOFTWARE2020_KND_BackEnd

Backend project developed by students from PUCP for the Software Engineering course in javascript with Express.js for tutoring management at the university.

Quick Start

To start developing ...

# Clone the project
git clone ...

# Install dev dependencies
npm install

# Copy .env from .env.example and set its properties (for start, set only the DB credentials and a random session secret)
cp .env.example .env

# Bring up the server up 
npm run server

Install Dependencies

Install all package dependencies (one time operation)

npm install

Run It

Run in development mode:

Runs the application is development mode. Should not be used in production (with nodemon to restart if chages were found)

npm run server

or debug it

npm run dev:debug

Run in production mode:

Requirements

... if Flores and skateholders agree to use our product

Compile it and start it

Before running into production, change the .env file, by setting IS_PROD to true. Compiles the application and starts it in production production mode.

npm run compile
pm2 start build/index.js

Try It

  • Open you're browser to http://localhost:5000
  • You should see a link to our online documentation through Swagger (still)

Important!

Make sure to submit descriptive commit message! We know that it can be tedious, so we made a commit message template (.gitcommit) to help you with that. You can use it by:

git config commit.template ./.gitcommit # Tell Git to read the template file
# (Make some changes)
git add .
git commit -v # Open your editor with the template loaded

Notice that we didn't use git commit -m. That command by-passes the commit long description and the commit message template. Please avoid that command. Try to be as communicative in each commit as possible, explaining the "what" and "why"s behind each commit.

Also, if your changes are getting longer and longer, involving multiple modules, avoid committing them in a single commit. Instead, try to use git add -p and split your changes into multiple commits. That makes it so much more easy to understand the changes.

ututor_backend's People

Contributors

andres20141684 avatar ariana20 avatar gabos3 avatar jinssj3 avatar leinadh avatar yeri0747 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

leinadh

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.