Coder Social home page Coder Social logo

dylanpelle_13_072022's Introduction

Getting Started with ArgentBank !

This repos is all the source code to run the Argent bank webApp.

Prerequisites

Launch Back-end

  • Clone the repository of the api on your computer.
  • Open a terminal window in the cloned project
  • 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

Steve Rogers

Launch Front-end

  • Clone the repository of front-end app on your computer.

  • Open a terminal window in the cloned project

  • Run the following commands:

# Install dependencies
npm install
# Start local dev
npm start

Your server should now be running at http://locahost:3000

API Documentation

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



Post-project reflections

I was not completely satisfied with the correction requested by the mentor. In fact, there is already some requests, to get information, and the http verb used for requests is "POST". But if we have to send the accountId or transactionId in a query param, these informations were visible in the url and it's not secure, especially for a banking API. With "POST" method, the parameters were hidden in the body. So, in a real situation, I would go to the client’s security department to discuss with them the methods to use.

dylanpelle_13_072022's People

Contributors

thxduck 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.