https://github.com/mathhetru/p7_groupomania
Create a corporate social network
https://github.com/mathhetru/p7_groupomania
axios css3 html5 javascript vuejs
Last synced: 28 days ago
JSON representation
Create a corporate social network
- Host: GitHub
- URL: https://github.com/mathhetru/p7_groupomania
- Owner: mathhetru
- Created: 2022-07-25T08:04:44.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-03-28T14:42:57.000Z (about 3 years ago)
- Last Synced: 2025-04-12T17:44:35.339Z (about 1 year ago)
- Topics: axios, css3, html5, javascript, vuejs
- Language: Vue
- Homepage:
- Size: 18.9 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# P7 Groupomania
> Le projet 7 "Créez un réseau social d'entreprise" de la formation Developpeur Web d'Openclassrooms
> Groupomania Social Network for Project 7 of Web Developper training by OpenClassrooms
Powered with :
- VueJS + axios
- NodeJs + express + mongoose
- MongoDB Atlas
To run this project, you will need:
```
NodeJs
npm
MongoDB Atlas
```
### Database
Create a database named groupomania
### Clone and install
Clone the project
```bash
git clone https://github.com/mathhetru/P7_Groupomania
```
Go to the project directory
```bash
cd P7_Groupomania
```
Install dependencies
```bash
npm install
```
If you have any trouble, check and update every package with `npm install -g npm-check-updates`.
### Environment Variables
To run this project, you will need to add the following environment variables to a .env file
Create a `.env` file in `back` folder. Check `app.js` if you need more informations.
- `account` account name database
- `mdp` password database
- `database` name of the database
Example:
```
account="administrateur"
mdp="motdepasse"
database="groupomania.azerty"
```
### Start the back
```bash
cd ./back
nodemon server or node server
```
### Start the front
In an other terminal
```bash
cd ./front
npm run dev
```
You can go to http://127.0.0.1:5173 and enjoy !