Kat-Archer / cn-project-quiz-mern

0 stars 1 forks source link

Full Stack project using React

This is a Code Nation project to create a React website which fetches data from a quiz api and sends information about users and quiz scores to a database. We chose to use MongoDB.

Project Brief

The project brief was to create a website with various elements:

Authentication

The jwt (jsonwebtoken) package is used to create a unique token for the user which is then stored as a cookie in the browser. The bcrypt package is used to encrypt passwords and compare an inputted password with the encrpyted version stored on the database.

Frontend

The frontend was created using the create-react-app npm package.

Dependencies used the frontend include:

Backend

The backend used the Express web framework for Node.js.

Dependencies for the project are:

Styling and responsiveness

The website (https://coolors.co/) was used to provide a colour scheme for the webpage.

The website was styled with CSS and made responsive to different screen sizes using media queries.