手元で動かすには
% npm install
% mkdir .data
% npm start
で動くはず。
だけど、このレポジトリには私の手元でこれを実行してできた全てのファイルをmaster push してます。 さてみんなでこれを共有したら一体どうなっちゃうのか?
A starter that has a database
- This app uses sqlite but you can power your apps with a number of other storage options
sqlite.db
is created and put into the.data
folder, a hidden directory whose contents aren’t copied when a project is remixed. You can see the contents of.data
in the console under "Logs"- To save to the database, remix this app!
On the front-end,
- Edit
views/index.html
,public/style.css
, andpublic/client.js
- Drag in
assets
, like images or music, to add them to your project
On the back-end,
- Your app starts at
server.js
- Add frameworks and packages in
package.json
- Safely store app secrets in
.env
(nobody can see this but you and people you invite)
Click Show
in the header to see your app live. Updates to your code will instantly deploy.
Made by Glitch
\ ゜ o ゜)ノ