-
Open TERMINAL
-
Install ExpressJS/NodeJS in cosbackend
NodeJS link: https://www.youtube.com/watch?v=Q3ixb1w-QaY
cd cosbackend
npm install express mysql cors nodemon
Install ReactJS + Vite and Tailwind CSS in cosproject
ReactJS link: https://www.youtube.com/watch?v=agpZsCUllqc
cd OBEY-LAB-RULES
npm create vite@latest
Then, name: cosproject, select React and JavaScript
Tailwind CSS https://www.youtube.com/watch?v=1WdL1TLfkYo
cd cosproject
npm install -D tailwindcss postcss autoprefixer
ReactJS Spring
cd cosproject
npm install react-spring
- Make sure to login and give access to VSCode and Github
git --global config user.name "add your user"
git --global config user.email "add your email"
cd <source_folder>
- To check files if already cloned.
dir (Windows)
ls -l (MacOS, Linux)
git remote add origin https://github.com/sacdalance/OBEY-LAB-RULES
5. Set mySQL using XAMPP Control Panel and query the content of "sql instructions.txt"
6. Commands to see progress:
Backend
cd cosbackend
npm start
Frontend
cd cosproject
npm run dev
Ctrl + C to END