Skip to content

Latest commit

 

History

History
109 lines (70 loc) · 2.7 KB

README.md

File metadata and controls

109 lines (70 loc) · 2.7 KB

Skylab-coders nodejs express html-5 css-3 ecmascript 6 MongoDB Bootstrap React npm


Description

Quezaurus is a quiz creator app where users can create their own questionnaires and post them online. Users also can respond questionnaries created by others. You just need to register, pick an Avatasaurus and start creating and answering quizs!


Installation

You need to have installed NodeJS with npm and MongoDB


Configuration env file

You need to create an .env file in the project root with the following environment variables configured:

  • Port:

    PORT=3001
    
  • Mongodb path and database to use:

    DB_URL=mongodb://localhost:27017/quezaurus
    

To run the server:

$ npm start

All dependencies will be installed automatically

API

The server part has multiple API endpoints using several routes:

  • /users -> Serves the internal data of users.
  • /quizs -> Serves the internal data of questionnaries.

Built with:

  • Front-end

    • react: 16.0.0
      • react-dom: 16.0.0
      • react-router-dom: 4.2.2
      • react-scripts: 1.0.14
    • axios: 0.17.1
    • uuid: 3.1.0
  • Back-end

    • body-parser: 1.18.2
    • dotenv: 4.0.0
    • express: 4.16.2
    • mongodb: 2.2.33
    • mongoose: 4.13.0

Author

Enric Bertran


License

This project is licensed under the MIT License - see the LICENSE.md file for details


Acknowledgments