Before you begin, ensure you have the following installed on your machine:
Follow the steps below to set up the project:
-
Clone the repository:
git clone https://github.com/sunniekapar/enfra.git cd enfra -
Set up the frontend:
bun i bun run dev
Fill in the environment variables in the
.envfile.To set up the database, head to Turso and create a new database. Fill in the values in the
.envfile. Then, in the terminal, run:bun run db:push
This will create a database for the users, session, and buildings.
After completing the setup, you should be able to access the frontend at http://localhost:3000.
Here is a video demo of Enfra
https://www.youtube.com/watch?v=rOtl0IIPvfo