For ALPHACamp Simple Twitter full-stack project.
- Clone the project
git clone https://github.com/tree12132002/twitter-fullstack-2020
- Move current directory to the project
cd *path to the file*/twitter-fullstack-2020
- Install NPM packages
npm install
- Duplicate
.env.example
file, changing name to.env
- Database migration(be sure that you've already installed a MySQL database)
npx sequelize db:migrate
- Generate seed data
npx sequelize db:seed:all
- Start the app server
npm run start
for development
npm run dev
-
Account(for front-side): user1
Email: user1@example.com
Password: 12345678 -
Account(for back-side): root
Email: root@example.com
Password: 12345678