GithubHelp home page GithubHelp logo

academy-pay's Introduction

Academy Pay

GitHub language count GitHub last commit

Javascript Postgresql ExpressJs React

LOGIN PAGE

๐Ÿ’ธ Academy Pay ๐Ÿ’ธ

About โ€ข Functionalities โ€ข Run the project โ€ข API Endpoints โ€ข Tecnolgies โ€ข Collaborators โ€ข Deployed version โ€ข License

๐Ÿ’ป About the project

Academy Pay is a solution designed to meet the financial management needs of commercial establishments. It provides a safe and efficient platform for registering customers and organizing the accounts associated with each of them. Owners find this tool an effective resource for transparent management and detailed monitoring of customer transactions.

โš™๏ธ Functionalities

  • Register user
  • Register client
  • Register client charges
  • Validation system for dates and due dates
  • Update user and client records
  • General financial tracking

Web

Register Client

Register Chrges

Billing Page

Home Page

๐Ÿƒโ€โ™€๏ธ Run the project

๐ŸŽฒ Run Backend

๐Ÿ’ก try the deployed version: https://backend-devastados.vercel.app/

 
# Clone this repository:
$ git clone [email protected]:Kauanedev/academy-pay.git

# Access the project folder:
$ cd academy-pay 

# Go to server folder:
$ cd server

# Install dependencies:
$ npm install

# Run the app in the development mode
$ npm run dev

# Server will start on port:3000

๐Ÿงญ Run Frontend

๐Ÿ’ก try the deployed version: https://desafio-final-front-dds-t12-omega.vercel.app/

# Clone this repository:
$ git clone [email protected]:Kauanedev/academy-pay.git

# Access the project folder:
$ cd academy-pay

# Go to frontend folder:
$ cd frontend

# Install dependencies:
$ npm install

# Run the app in the development mode:
$ npm run start

# Server will start on port:3000 - Open ~ http://localhost:3000 ~ to view it in your browser.

๐Ÿ“API Endpoints

route description
POST /registerUser See request details
POST /login See request details
PUT /editUser/:idUser See request details
GET /getUser/:idUser Returns specific user
POST /registerClient/:idUser See request details
GET /listClients/:idUser Returns Clients
GET /getClient/:idUser Returns specific client
PUT /editClient/:idUser See request details
POST /registerBilling/:idUser/:idClient See request details
PUT /editBilling/:idBill See request details
GET /listBills/:idUser Returns bills from specific user
GET /getBill/:idBill Returns specific bill
GET /listClientBills/:idUser/:idClient Returns bills from specific client
DELETE /deleteBill/:idBill Deletes specif bill
GET /homepage/:idUser Returns all charges from clients of specific user

POST /registerUser

REQUEST

{
  "name":"User Name",
  "email":"[email protected]",
  "password": "password"
}

POST /login

REQUEST

{
  "email":"[email protected]",
  "password": "password"
}

RESPONSE

{
	"user": {
		"id": 25,
		"name": "User Name",
		"cpf": null,
		"email": "[email protected]",
		"phone": null
	},
	"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MjUsImlhdCI6MTcwODk4MDA5MywiZXhwIjoxNzA5MDA4ODkzfQ.bD47unSSmt8XhtzpmCc9YykGRjB7MvMFh6g4Jvz0OLg"
}

PUT /editUser/:idUser

REQUEST

{
  "name":"User Name",
  "email":"[email protected]",
  "password": "password",
	"cpf":"",
	"phone":""
}

RESPONSE

{
	"message": "Dados alterados com sucesso!",
	"changePassword": true,
	"data": [
		{
			"name": "User Name",
			"email": "[email protected]",
			"cpf": "",
			"phone": ""
		}
	]
}

POST /registerClient/:idUser

REQUEST

{
  "name":"client",
  "email":"[email protected]",
  "phone": "14122248547",
  "cpf": "462.020.777-27",
	"state":"RJ"
}

PUT /editClient/:idUser

REQUEST

{
	"id":"265962",
	"name": "client",
	"email": "[email protected]",
	"cpf": "52652352313",
	"phone": "59531248129",
	"zip_code": null,
	"address": null,
	"complementary_address": null,
	"neighborhood": null,
	"city": "Rio de Janeiro",
  "state": "RJ"
}

POST /registerBilling/:idUser/:idClient

REQUEST

{
  "status":"PENDENTE",
  "value":53000,
  "due_date":"2023-12-02"
}

PUT /editBilling/:idBill

REQUEST

{
	"name":"client",
	"value":"15590",
	"due_date":"2023-11-24",
	"status":"PAGO",
	"payment_date":"2023-11-26"
}

๐Ÿ›  Tecnologies

Website (React)

Server (NodeJS)

Utilities


๐Ÿค Collaborators

This is the dream team that made it all happen: ๐Ÿ’œ
perfil kau
Kauane Santos
perfil Murilo
Murilo Schneider ๐Ÿ‘จโ€๐Ÿ’ป
perfil Murilo
Luiz Pedro ๐Ÿ‘จโ€๐Ÿ’ป
perfil Murilo
Jeferson Vieira ๐Ÿ‘จโ€๐Ÿ’ป
perfil Murilo
Gabriel Navarro ๐Ÿ‘จโ€๐Ÿ’ป

๐Ÿš€ Deployed Application

Visit our project and try it for yourself:

๐Ÿ–ฅ๏ธFrontend ๐ŸŽฒBackend

๐Ÿ“ Licese

This project is under license MIT.

Made with ๐Ÿ’“ by Kauane Santos ๐Ÿ‘‹ Contact me!

academy-pay's People

Contributors

kauanedev avatar

Watchers

 avatar

Forkers

luizdevexe

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.