irinasensei / Virtual-Diary-Project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Virtual-Diary-Project

In this repository, you will create a virtual diary.

Objectives

  • Build a database with mysql.
  • Build a backend with Express.
  • Create a frontend with React.

Frontend

This is a mockup of the frontend.

virtual diary

Setup

Open 3 terminals. The first for FRONTEND, the second for BACKEND the third for MYSQL.

  • First terminal: cd client and run yarn install dependencies related to React. Run cd client and run yarn start to start client server in development mode with hot reloading in port 3000.

  • Second terminal: Run yarn on root folder to install dependencies related to Express. Run yarn start in project directory to start the Express server on port 5000

  • Third terminal: start with brew services start mysql.

  • If you want to run migration you can execute the yarn migrate script.

  • Then type mysql -u root -p to access the MySQL CLI using your password.

Basic Requirements

Backend

  • Start with backend and mysql (the same).

[] Use Postman to confirm that you have completed these correctly. You can test your API in http://localhost:5000/api

Frontend

  • Finish the front end

[] You can test your client app in http://localhost:3000

Notes

This is a student project that was created at CodeOp, a full stack development bootcamp in Barcelona.

About


Languages

Language:JavaScript 73.7%Language:CSS 13.8%Language:HTML 12.5%