Skip to content

dimdejesus/expense-tracker-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

expense-tracker-backend

A Backend for Expense Tracker App that is made through node js and prisma.

Libraries/Frameworks used

File Structure

This is the File Structure of the server with their corresponding usage

  • controller - where the logic of my backend placed.
  • prisma - folder for the functioning of prisma
  • routes - where the routes of my backend placed
  • utils - my constants and initializations to avoid initializing objects repeatedly.

How to set this up locally

Note: Run this before the Expense Tracker Frontend`

  1. Clone this repository
git clone https://github.com/dimdejesus/expense-tracker-backend.git
  1. create a .env variable (use .env.example as an example)
  2. Install the dependencies
npm install
  1. Migrate the migration for primsa ORM
npx prisma migrate dev
  1. Run the seed for dummy data (optional)
npx prisma db seed
  1. Run this web app
npm run serverStart

About

A Backend for Expense Tracker App that is made through node js and prisma.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors