Skip to content

macnaer/REST-API-Express-f12

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REST-API-Express-f12

This project was based on Node.js version 14.18.2 and generated with React Redux. It gives a user two options to register: as a standard user and as an adminstrator. When logged in, the former can edit their data (password, username, etc) on profile page and delete an account, whilst the latter controls the activity of the users and can see their roles.

Start

To run this project you have to clone master's branch of this git repository to your desktop. After opening the project in Visual Studio Code run npm install to download all the missing back-end modules; for front-end modules you need to repeat the same action in client-app. After this, to start the project run npm run dev and use concurrently module which will simultaniously run front-end and back-end.

Data

This project was built using Microsoft Structured Query Language. All the data is located in a file named 'data'. Variable 'Config' represents the IP adress of SQL Servers's location. Variable 'Sequelize' helps with SQL database management. Variables 'Name', 'Surname', 'Email', 'Password' and 'Role' are responsible for cognominal information.

Seeder

Seeder is a file that contains an initial set of data. The 'Name' and 'Surname' of this project's seeder are 'Admin', 'Email' is 'admin@gmail.com', 'Password' is 'Qwerty-1' and 'Role' is 'admin'.