naughty movies
A Vue+Express+Mysql movie ticket sales project
Effect preview
Front-end display
integral part
Ticket purchase process
Backend management
Login page
Management page
Project description
Project directory
├── film front-end page project file ├── film_admin back-end management system ├── film_api front-end and back-end interface file ├── db_film.sql database file
Installation steps
1. Pull items
#依次执行以下命令
git clone https://github.com/J1ong/FilmSys.git
cd FilmSys
cd film
npm install
cd ../film_admin
npm install
cd ../film_api
npm install
2. Import the data file db_film.sql (the database I use here is mysql, user: root, password: 123456)
3. Project details
- Front-end page project
- Backstage management project
- Front and back interface projects
4. Start the project
1. Start the front and back interface project
#输入命令前要先进入到film_api中
nodemon app.js
2. Start the front-end page project
#输入命令前同样需要进入到film中
npm start
3. Start the background management project
#输入命令前同样需要进入到film_admin中
npm start
5. Finally
- Enter http://localhost:8080/ in the browser address bar to see the front-end page. Switch to the mobile device to see the mobile version page normally.
- Enter http://localhost:8081/ in the browser address bar to go to the backend login interface (account: admin, password: admin)
- The interface server starts on port 3000