mirror of
https://github.com/enovikov11/web-basic.git
synced 2026-03-04 04:01:39 +00:00
Basic repo: express API + static + sqlite
- JavaScript 89.9%
- HTML 10.1%
| migrations | ||
| www | ||
| .gitignore | ||
| README.md | ||
| server.js | ||
Make repo if not:
- Create repo via github interface
- Clone it locally, for example
git clone git@github.com:yourname/yourrepo.git - Make some file
echo "" >> readme.md - Add to git
git add . - Make first commit
git commit -m init
Add web-basic:
- Add web-basic as remote
git remote add web-basic git@github.com:enovikov11/web-basic.git
To update:
- Fetch it data
git fetch web-basic - Rebase your repo
git rebase -i web-basic/master - Solve conflicts
First setup:
npm initwith start tasknodemon servernpm i express nodemon sqlite
Usage:
npm inpm start