2024-02-03 06:07:29 -05:00
# E-Commerce
2024-02-24 16:43:02 -05:00
This is the repository for my e-commerce project made using the [Nim](https://nim-lang.org) Programming language, [SQLite3](https://www.sqlite.org/) and [HTMX](https://htmx.org/)
2024-02-03 06:07:29 -05:00
## Getting Started
Download links:
2024-02-03 13:39:21 -05:00
HTTPS clone URL: https://gitea.com/cereci5049/Shoppers.git
2024-02-03 06:07:29 -05:00
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
## Prerequisites
2024-02-24 16:54:11 -05:00
Must have [Nim](https://nim-lang.org) version 2.0.2 or higher as well as [SQLite3](https://www.sqlite.org/) must be installed.
2024-02-03 06:07:29 -05:00
## Dependencies
- [mike](https://github.com/ire4ever1190/mike)
- [db_connector/db_sqlite](https://nim-lang.org/docs/db_sqlite.html)
- [times](https://nim-lang.org/docs/times.html)
- [nimja](https://github.com/enthus1ast/nimja)
2024-02-03 14:43:31 -05:00
## Setup
### Setup Database
2024-02-03 06:07:29 -05:00
Firstly you need to create the database using the following command
```
nim c -r src/a3c/database_up.nim
```
Then add the rooms in the rooms table there.