Giter VIP home page Giter VIP logo

borrowmoney's Introduction

# borrowMoney

Intro

What's upppp

This is just a small project i made on an idle day staying at home :D I spent around 12 hours writting this, including 2-3 hours for the UI.

=> *link on heroku - a demo web app. You can visit this demo and create an acoount (email verification is not required.) It is recommended to use a real email andress in order to avoid errors in server.

(It would take a while to wake the heroku server up. It may have been sleeping :v)

Thank youuu for visiting this repo. I am just a newbie so I would be very happy if you send me some feedbacks about this. My email is [email protected]

<3

Please notice this T.T

  1. This is the first version and I am a newbie, so it would definitely have a lot of bugs.

  2. This is the DEMO version, so all the sensitive information has been deleted.

OK, let's go:

Description

  • User can use this web app to manage the money log, when they lend/borrow money.

Setup

  1. Customize the package.json (if you want) (edit the name, author, ...)

  2. IMPORTANT PART

You have to add 3 following files more to finish set up.

2.a Create database and get the firebaseConfig

create a Cloud Firestore Database i also put comment in the <head> tag of index.js about the structur of the database.

2.b Got the JSON.key file to access database on server

Just do some search on the internet, like "acces firestore node.js", you will find the answer, how to download that ".json" key.

2.c make an email account to deliver mail to users.

  • the mail Transporter => i put comment in the file server.js about it. Go check it out
  1. Down load the nodemodule:
npm install 
  1. Use local server to run the app:
cd borrowMoney
node server.js

if you see this:

start listening

=> type localhost:1337 on the browser to run the app.

How to use?

  1. Login/ sign up

There are 2 sections: the money you lend and you borrow, displayed as lists. Each item on list consists of following fields: email of target friend, message, amount of money and the "reminding" button.

  1. Add the infos of the money you lend others. If you tick the "reminding via email" button, your target friend will receive a reminding email every 2 hours.
  • However they can turn off the "reminding" button every time they log in, but can not delete the item.
  • Only you can delete the item on list "Friends borrowing your money"
  1. Yea, basically that's it !!

Thank you for your visiting!

My name is Phuong Ta, a newbie coder coming from Vietnam, started coding in July 2019. I'm currently looking for the chance to improve my skills as well as get more experience working on real projects.

borrowmoney's People

Contributors

tahaphuong avatar

Stargazers

 avatar

Watchers

 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.