GithubHelp home page GithubHelp logo

sebcod / oc-p11-argentbank-website Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openclassrooms-student-center/argentbank-website

1.0 0.0 0.0 497 KB

Code for the project on APIs and React for Intégrateur Web and JS-React paths.

JavaScript 63.12% CSS 7.53% HTML 12.95% SCSS 16.40%

oc-p11-argentbank-website's Introduction

Argent Bank API

This codebase contains the code needed to run the backend for Argent Bank.

Getting Started

Prerequisites

Argent Bank uses the following tech stack:

Please 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

  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!

Populated Database Data

Once you run the populate-db script, you should have two users in your database:

Tony Stark

Steve Rogers

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

Design Assets

Static HTML and CSS has been created for most of the site and is located in: /designs.

For some of the dynamic features, like toggling user editing, there is a mock-up for it in /designs/wireframes/edit-user-name.png.

And for the API model that you will be proposing for transactitons, the wireframe can be found in /designs/wireframes/transactions.png.

oc-p11-argentbank-website's People

Contributors

sebcod avatar aurelien-oc-mentorship avatar nicolaspatschkowski avatar

Stargazers

Nidal Chateur avatar

oc-p11-argentbank-website's Issues

User can login to the system

A user should be able to:

  • Navigate to the login page (/login)
  • Fill out credentials
  • Login to the back-end API with JWT tokens for authentication
  • Successfully navigate to a profile page (/profile)

For more information on accessing the design assets, see the Design Assets section in the README.

State management is done through Redux

The React app contains an implementation of Redux for state management that:

  • a store to manage all of the data
  • action(s) for sending information
  • reducer(s) for handling application state changes

Add docs

Add docs

  • Add comments to code

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.