Skip to content

javiersteven0612/MERN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MERN-Stack-Project

MERN-Stack-Project Install nodejs, reactjs

https://tecadmin.net/how-to-install-nvm-on-ubuntu-20-04/

Install dependencies

npm install express mysql cors nodemon

MYSQL Configuration

CREATE DATABASE school;
USE school;
CREATE TABLE student (id INT AUTO_INCREMENT PRIMARY KEY, name varchar(40), roll_number int, class varchar(16));
CREATE TABLE teacher (id INT AUTO_INCREMENT PRIMARY KEY, name varchar(40), subject varchar(40), class varchar(16));

Backend-

Install nodejs npm install dotenv Modify the .env and do the changes for database

npm install -g pm2   
pm2 start npm --name backend -- start

Frontend Modify the .env file and update the backend api endpoint

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published