GithubHelp home page GithubHelp logo

mariondouet / quest-express-post-put Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wildcodeschool/quest-express-post-put

0.0 1.0 0.0 40 KB

Code for the "Express 7 - POST&PUT" quest

JavaScript 93.96% TSQL 6.04%

quest-express-post-put's Introduction

Express 7 Quest - POST&PUT

This application provides a simple API for user management.

Follow the instructions below!

1. Get it

Clone this repo:

git clone https://github.com/WildCodeSchool/quest-express-post-put.git

2. Install the dependencies

cd quest-express-post-put
npm install

3. Setup the database

Inject the database/setup-database.sql file into MySQL with this command (provide your root password when asked to):

mysql -uroot -p < database/setup-database.sql

4. Create and edit the .env file

This application uses dotenv, which allows to load variables from a specific file: .env. This is where sensitive data, such as database settings, JWT secret key, API keys, etc. are stored.

This file is not provided here, because it should never be committed! However, the .env.sample file will help create you quickly.

First, copy it as .env:

cp .env.sample .env

Second, edit .env. You only have to replace the value behind DB_PASS= with your own root password.

quest-express-post-put's People

Contributors

bhubr avatar mariondouet avatar

Watchers

James Cloos 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.