Skip to content

kaijim/foundry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

👋 Hello developer!

This project contains a basic node express application to get you started. Check our tutorials for frontend development to learn the basics of HTML, CSS and JavaScript. 🦄

While you're in the editor working, the site will be running npm run dev, which runs Nodemon, and changes to JS files or environment will restart the application. Once you close the editor, the container runs npm run start.

Knowledge requirements

To be able to fully understand and modify this template to your needs, there are several things you should know (or learn):

Warning - environment variables

Do not change SQLITE_DB as it is generated. If you change it the space will not behave as predicted.

🔨 What's next?

Customize this template to make it your own.
Remember to make your layout responsive - if you want your site to look good on smaller screens like mobile.

🎨 Where to find everything?

You can find static resources in the folder public.

Database

Dynamic spaces can use SQLite database.
The database file is called database.db. It is placed inside the w3s-dynamic-storage folder.
SQLite connection path to the database is w3s-dynamic-storage/database.db which you can use to connect to the SQLite database programmatically.


Do not change the w3s-dynamic-storage folder name or database.db file name!
By changing the w3s-dynamic-storage folder name or database.db file name, you risk the space not working properly.

🔨 Please note

For now files created/uploaded or edited from within the terminal view will not be backed up or synced.

⛑ Need support?

Join our Discord community and ask questions in the #spaces-general channel to get your space on the next level.
Send us a ticket if you have any technical issues with Spaces.

Happy coding!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published