Coder Social home page Coder Social logo

maya-manager / server Goto Github PK

View Code? Open in Web Editor NEW
16.0 1.0 5.0 10.64 MB

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

Home Page: https://discord.com/invite/A2GdYbwAnw

License: MIT License

TypeScript 97.16% Shell 2.32% Dockerfile 0.52%
docker express maya nodejs postgresql sql api javascript rest rest-api typescript accounts manager finance finance-management expense-tracker hacktoberfest

server's Introduction

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.