Skip to content

joequich/project4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

project4

This project aims to create an application with login and crud of products.

Frontend - Client

Features

  • Management state with Redux, Redux Toolkit
  • Login and Sign In with Google
  • Products Crud

Installation

Use the package manager npm to install the packages.

npm install

Execution

npm run start

Backend - Server

Features

  • JWT Authentication
  • Sign In with Google
  • Products Crud Endpoints
  • Users Crud Endpoints

Installation

Use the package manager npm to install the packages.

npm install

Env Variables

Create a .env.development (or .production with NOVE_ENV=production in npm run start) file in then root and add the following

PORT=7000
MONGODB_HOST=localhost
MONGODB_PORT=27017
MONGODB_USER=
MONGODB_PASS=
MONGODB_DATABASE=project4
JWT_SECRETKEY=zxcvb098765
GOOGLE_CLIENT_ID=your google client id
GOOGLE_SECRET_ID=your google secret id
CLOUDINARY_URL=your cloudinary url
CLOUDINARY_NAME=your cloudinary name
CLOUDINARY_API_KEY=your cloudinary api key
CLOUDINARY_API_SECRET=your cloudinary api secret

Execution

For Development

npm run dev

For Production

npm run start