Skip to content

Project 7 | OpenClassrooms | Créez un Réseau Social d'Entreprise

Notifications You must be signed in to change notification settings

GulcanC/OPC_7_MongoDB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 

Repository files navigation

Project 7 | OpenClassrooms | Créez un Réseau Social d'Entreprise | Groupmania

https://www.youtube.com/watch?v=rM21HN7NaPQ

📌 The Purpose of the Project

  1. Creating a logical data model and translating it into the API
  2. Ipmlementing CRUD fonctionalty, Create, Read, Update, and Delete
  3. Storing data in a database, I choosed mongoDB
  4. Protecting data stored on an app (OWASP/RGPD)
  5. Creating a user, verifying and securing the user's session
  6. Creating a component design system using a framework js, I choosed Vue.js

📌 The Technologies used

✏️Node.js ✏️Express ✏️MongoDB ✏️Vue.js ✏️VueCLI ✏️CSS ✏️Bootstrap ✏️API REST

📌 Project Backend Setup

  1. Open a terminal at the root of the project

  2. Run the following command to reach the directory "backend"

cd backend
  1. Install the dependencies
npm install
  1. Create a "images" folder in the "backend" folder (whose name must be "images")
  2. Create a project in mongoDB, specify a user with a specific username and password, and create a cluster
  3. Create a file .env likes the file .env.example and write the following informations using your own data in this file
PORT=3000
DB_USERNAME="your mongoDB project user name"
DB_PWD="your mongoDB project user password"
DB_CLUSTER="your mongoDB cluster name"
JWT_KEY_TOKEN="Create an API token"
  1. In this file, write your own MongoDB project user name, password and cluster name
  2. Generate your own API token and write it also in the file .env for JWT_KEY_TOKEN
  3. Run backend server with this command
npm start

📌 Project Frontend Setup

  1. Open a terminal at the root of the project

  2. Run the following command to reach the directory "frontend"

cd frontend
  1. Install the Dependencies
npm install
  1. Run frontend server with this command
npm run serve
  1. Type the following URL in your browser to reach the application

👉 http://localhost:8080/

📌 Password Validation

Password must be 6 characters:

⭐ 1 uppercase letter ⭐ 1 lowercase letter ⭐ 1 special character ⭐ 3 digits

About

Project 7 | OpenClassrooms | Créez un Réseau Social d'Entreprise

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages