GithubHelp home page GithubHelp logo

pals's Introduction

Welcome to Payment and Loan Sharing (PALS)

This application is built on top of Typescript with NodeJS + Mongoose on the back-end side and NextJS 14 App Router on the front-end.

This was created for the purpose of helping a group of people manage their shared bills, loans, or simply as a place to note down daily expenses for easy tracking.

How to run this locally?

  • You have to ensure YARN is installed on your local machine.
  • Clone this repository into your computer via git cmd

There's two options:

  1. Run the UI application independently:
  • Go to the root folder of this repository
  • Create a file named .env.local at this folder level, copy this line into the file and save: BASE_URL=https://sifadns.net/api
  • Open Terminal and type cd web-app then Enter
  • Type yarn install, then Enter and wait for dependencies to be downloaded
  • Type yarn dev to start the application
  • Go to address http://localhost:3000 to start using the application
  1. Run both server and UI applications locally:
  • Firstly, if you didn't have Docker installed yet, please follow this guide
  • Go to the root folder of this repository
  • Open Terminal and type yarn docker:local then Enter to start a Docker container included a MongoDB instance and MongoExpress (access via: http://localhost:9011) to manage the database
  • Go to server-app folder via cmd cd server-app from root folder, then install dependencies with cmd yarn install and finally yarn start to start the application locally
  • Go to web-app folder via cmd cd web-app from root folder (or cd ../web-app from server-app folder) then install dependencies with cmd yarn install and finally yarn dev to start the application locally
  • Go to address http://localhost:3000 to start using the application

Note: If you ever created a .env.local file with configuration in Option 1, please delete that file when you go with Option 2

Deployment:

You can try the production version on https://pals.sifadns.net/login via your browser seemlessly without any additional tool on your local machine

pals's People

Contributors

shinobi1311 avatar karasuno07 avatar

Watchers

Lucian avatar  avatar

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.