This project was referenced with the Angular Full-Stack Generator version 4.2.2.
- Git
- Node.js and npm Node >= 6.x.x(Recommend 8.x.x), npm >= 2.x.x(Recommend 4.x.x)
- MySQL
- Login
mysql
withroot
- Create database
dev_mabab
create database dev_mabab;
- Create user
devmabab
create user devmabab@localhost identified with myql_native_password by 'devmabab';
- Grant privileges
grant all privileges on dev_mabab.* to devmabab@‘localhost’;
- Last
flush privileges;
-
Run
npm install
to install server dependencies. -
Run
npm install -g babel-cli
to start the server asbabel-node server
. -
Run
npm start
to start the server -
Connect to
localhost:9000
to develop