Travail is a web platform that facilitates buying, selling, and renting houses. It provides a user-friendly interface for users to explore listings, contact agents, and for admin or agents to manage their properties.
Frontend:
Backend:
Follow these steps to set up and run the Travail project locally:
git clone https://github.com/sparrowsl/travail.git
cd travail
npm install
Create a .env
file in the root directory and set the following variables:
DATABASE_URL="./database.db"
JWT_SECRET_KEY="superdumblongsecretkey"
Adjust the values according to your environment.
npm run db:setup
# > A default admin account will be created with the credentials
# > Email: [email protected]
# > Password: password
run npm run db:studio
to add data manually in the database (use for creating new admin only)
npm run dev
Visit http://localhost:5173
in your browser to see the Travail in action.
Feel free to contribute to the project by opening issues or submitting pull requests. Any enhancements or bug fixes are welcomed.
This project is licensed under the MIT License.