Frontend : React
Backend : Node.js(Express)
Database : MySQL
.
Install node.js (through nvm/nodebrew )
Install mysql (through brew/apt-get)
mysql -u root
inside mysql
create user 'reacttypescript'@'localhost' IDENTIFIED BY 'reacttypescript';
grant all on reacttypescript.* to 'reacttypescript'@'localhost';
create database reacttypescript
clone this repository and
cd app
npm install
npm run dev
Open another terminal and
cd api
npm install
npm run start
Create an initial admin user
curl 'http://localhost:7071/api/user/create' -H 'Accept: application/json, text/plain, */*' -H 'Content-Type: application/json' --data-binary '{"username":"user","password":"user","email":"user@jp","admin":true,"owner":true}'
.