This is a demo project for a full-stack web application using MySQL, Express.js, React.js, and Node.js.
To get started, follow these steps:
-
Clone the repository to your local machine.
-
Install the dependencies in the frontend and backend directories respectively.
npm install
- Create a MySQL database named "demo" and do as follows.
- a root user with password "1qazxsw2"
- run ./backend/schema.sql to create the table
- Start the backend server in the backend directory:
npm start
- Start the frontend server in the frontend directory:
npm start
*Open your web browser and go to http://localhost:3000 to run this application.
- MySQL - Database
- Express.js - Node.js Web application framework
- React.js - Frontend framework
- Node.js - Backend runtime environment
- Sequelize - a modern TypeScript and Node.js ORM
- Add unit tests