React.js Nodejs Mysql starter is a tiny fullstack dev-cli (react.js+nodejs+mysql+docker), you can easily build your own app based on this project, free && extendable!!
starter Project root dir
├─── _deploy Docker config and one-step start-up script
├─── _sql Sql file
├─── backend Http framework integrated by nodejs
├─── frontend React.js app
We had provided a quick start-up guide for each module, that will make you start you project quickly, you have to clone the repository by the command git clone
to your local machine
First all, you must install nodejs+npm, and mysql,
If you want to run the project over docker, you should make sure you had installed docker over linux subsystem in window10 or linux, run the command ./sh/startup.sh
Run the follow commands below over linux (Centos8 example)
1. yum install -y yum-utils device-mapper-persistent-data lvm2
2. yum-config-manager --add-repo https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
3. yum install docker-ce
4. systemctl enable docker
5. curl -L https://github.com/docker/compose/releases/download/1.26.2/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
6. chmod +x /usr/local/bin/docker-compose
7. docker-compose version
_sql/demo.sql
into your mysqlnpm install
at the root path of the backendnpm run start
http://localhost:8200
by your browser, you can see the text hello koa2
generallyIf you have fellow the step of backend, nothing you need to do
npm install
at the root path of the frontendnpm run start
http://localhost:3000
Api doc online is available now, you can do interface-testing without anything installed
We had deployed the whole project to the cloud, you can visit the url below
http://demo.codingtalk.cn
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。