Skip to content

App to manage your pocket money and keep track of your expenses and account between multiple people

License

Notifications You must be signed in to change notification settings

maya-manager/server

Repository files navigation

All Contributors

logo
App to manage your pocket money and keep track of your expenses and account between multiple people

Features

Current release (v1.0.0) πŸƒ

  • Track expense between multiple people

  • Day start and day end cash in hand

  • Debit/credit system (if someone asks for some money, than you can put that to your account as well)

  • Automatic calculation of total amount of money in hand

  • Group:

    • you can remove people of group from a particular entry if they are not involved in that entry
    • Create groups and add people to it
    • when creating a new entry with group, app will automatically add the users in group to that entry
    • when new person is added to the group, he/she will be only added when he accepts the invite
    • on leaving the group, group admin will approve first that he can leave the group
  • between 2 people:

    • when a person is creating a entry that he paid to another person than the other person will be notified and he can accept or reject the entry, weather he is paid or not

Future releases πŸš€

  • You can set daily budget and app will notify you when you are going to exceed your budget
  • show average daily spend
  • Manage budget of trips (if you are going to a trip with your friends than you can create a new trip and add people to it. each person can add their budget for the trip and you will see that. you can plan your trips according to your budget and while spending on the trip you can also keep record of who spent how much and also see how much money is left. and remaining money can be divider among the people who are in the trip).
  • Auto adjust money between people (if 2 people are together and one person spent 30rs one time and another spend 20 next time than app will automatically adjust that only 10rs is left to be paid by the person who spend 20rs)

Discord

Calling all coding enthusiasts! If you want to be a part of our ongoing project, Maya, and other upcoming projects in the near future, join our server. Whether you want to contribute or become an official member of the server, we invite you to join us! Discord link: Discord

Docs

All the docs for each project are present in their respective directories in docs folder

Setting up the development environment

Prerequisites

Installation

Manually

  1. Create a PostgreSQL database for the project.
  2. You will need to create a .env file in the root of the project. You can copy the .env.example file and rename it to .env.

make sure update the environment variables based on your needs.

  1. Create database migrations by running
yarn prisma:migrate
  1. Generate the prisma client by running
yarn prisma:generate
  1. Run the server by using
yarn start:dev

Docker

  1. Use the docker-compose.yml file to start the server and postgreSQL containers.

  2. You will need to create a .env file in the root of the project. You can copy the .env.example file and rename it to .env.

make sure update the environment variables based on your needs.

  1. Run the containers by using
docker-compose up

You can use this postman collection to test the api

⚠️ This database design is will be updated in future based on different needs

db design

Technologies

Contributors ✨

Thanks goes to these wonderful people (emoji key):

Aditya Pant
Aditya Pant

🎨 πŸ“–
Vanshhemu
Vanshhemu

🎨 πŸ“–
DanielXing1103
DanielXing1103

πŸ“–
Toby
Toby

πŸ’»
Add your contributions

This project follows the all-contributors specification. Contributions of any kind welcome!