Giter VIP home page Giter VIP logo

reims-js-2103-project3-cash-is-wine-back's Introduction

reims-js-2103-project3-cash-is-wine-back

Project Cash is Wine

The point is to create a online service of buyback and sale of ready-to-drink wines from individuals.

Technologies : Node.js (npm install) MySQL : Database Express.js EsLint dotenv nodemon mysql2

Owner : Edgar Grantot

Team : Allan Caplain (https://github.com/AllanCaplain), Bastien Le Brun (https://github.com/Bastien-LB), Marjorie Thomassin (https://github.com/MarjorieThomassin), Pascal Joly (https://github.com/Banzaipj), Timothee Augustin (https://github.com/Timothee-Augustin)

How to use In the root of the folder create a .env file copy the content of the .envexample file while replacing the login info with yours.
Execute the command line npm i to install the dependancies. And then execute the commande line npm start to launch the server. Then you can launch the front part !

reims-js-2103-project3-cash-is-wine-back's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

reims-js-2103-project3-cash-is-wine-back's Issues

return created instance on bottle creation

a good practice on creation is to send back the created instance with the 201 status. so this line:

res.status(201).send('Bottle successfully saved');

could be improved like this:

res.status(201).send(newBottle);

where newBottle is the bottle inserted into the database: an object with the inserted values for the fields + the generated id (look here to retrieve it)

README

customize the README file for the project: name, context, pitch, team...

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.