demondragong / Project-10-Bank-API

Web dev training project 13

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ArgentBank

ArgentBank logo

Training project to experiment with Redux, Redux Toolkit (RTK), RTK Query and JSON Web Token (JWT).

Getting Started

Prerequisites

Argent Bank uses the following tech stack:

Make sure you have the right versions and download both packages. You can verify this by using the following commands in your terminal:

# Check Node.js version
node --version

# Check Mongo version
mongo --version

Instructions to run the backend

  1. Fork this repo
  2. Clone the repo onto your computer
  3. Open a terminal window in the cloned project
  4. Run the following commands:
# Install dependencies
npm install

# Start local dev server
npm run dev:server

# Populate database with two users
npm run populate-db

Your server should now be running at http://locahost:3001 and you will now have two users in your MongoDB database!

Tony Stark

  • First Name: Tony
  • Last Name: Stark
  • Email: tony@stark.com
  • Password: password123

Steve Rogers

  • First Name: Steve,
  • Last Name: Rogers,
  • Email: steve@rogers.com,
  • Password: password456

Instructions to run the frontend

  1. Open a terminal window in the cloned project
  2. Navigate to the frontend folder (cd argentbank-front)
  3. Run the following commands
# Install dependencies
npm install

# Start react app
npm start

Your should be able to view the ArgentBank app in your browser at http://localhost:3000.

API Documentation

To learn more about how the API works, once you have started your local environment, you can visit: http://localhost:3001/api-docs

(back to top)

About

Web dev training project 13


Languages

Language:JavaScript 57.5%Language:CSS 21.5%Language:HTML 20.9%Language:Shell 0.1%