https://github.com/practical-works/0db-example
Example project for testing 0db.
https://github.com/practical-works/0db-example
Last synced: 9 months ago
JSON representation
Example project for testing 0db.
- Host: GitHub
- URL: https://github.com/practical-works/0db-example
- Owner: practical-works
- License: mit
- Created: 2021-10-01T00:41:03.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-01T00:42:19.000Z (over 4 years ago)
- Last Synced: 2025-04-12T21:14:26.386Z (9 months ago)
- Language: JavaScript
- Size: 53.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🌏 0db Example
[](https://github.com/topics/web)
[](https://github.com/topics/javascript)
[](https://github.com/topics/node)
Example project for testing [**0db**](https://github.com/Ambratolm/0db).
## 🏁 Getting started
1. Clone the repository:
```bash
cd somewhere
git clone https://github.com/practical-works/0db-example.git
cd express-sample
```
2. Install the dependencies:
```bash
npm i
```
3. Install [**Nodemon**](https://github.com/remy/nodemon/) globally:
```bash
npm i -g nodemon
```
4. Run server for development:
```bash
npm run dev
```
## ✈️ Deployment
To deploy the project in a node environment:
1. Push the repository to a node server using a service like [Heroku](https://heroku.com).
2. Install the dependencies:
```bash
npm i
```
3. Start server for production:
```bash
npm start
```
## 🚀 Development
### 🏭 Environment
- Runtime: [**NodeJS**](https://github.com/nodejs)
- Package Manager: [**NPM**](https://github.com/npm)
- Editor: [**Sublime Text**](https://www.sublimetext.com)
### 🌑 Backend
- ⚛️ Core:
- Main: [**NodeJS**](https://github.com/nodejs/node) / [**ExpressJS**](https://github.com/expressjs/express)
- Template Engine: [**EJS**](https://github.com/mde/ejs)
- 💽 Database: [**0db**](https://github.com/Ambratolm/0db)
- 🔧 Utils:
- Session Storage: [**Cookie-Session**](https://github.com/expressjs/cookie-session)
- YAML display: [**JSON2YAML**](https://github.com/coolaj86/json2yaml)
- Console Logging: [**Morgan**](https://github.com/expressjs/morgan)
- Hot Reloading: [**LiveReload**](https://github.com/napcs/node-livereload) / [**Connect-LiveReload**](https://github.com/intesso/connect-livereload)
### 🌕 Frontend
- 🎨 UI:
- Main: [**Bulma**](https://github.com/jgthms/bulma)
- Theme: [**Bulmaswatch**](https://github.com/jenil/bulmaswatch)
## 📃 License
Licensed under [MIT](./LICENSE).