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
- Fork this repo
- Clone the repo onto 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!
Once you run the populate-db
script, you should have two users in your database:
- First Name:
Tony
- Last Name:
Stark
- Email:
[email protected]
- Password:
password123
- First Name:
Steve
, - Last Name:
Rogers
, - Email:
[email protected]
, - Password:
password456
To learn more about how the API works, once you have started your local environment, you can visit: http://localhost:3001/api-docs
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
.
fork this repo
install
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
Note: this is a one-way operation. Once you eject
, you can't go back!
If you aren't satisfied with the build tool and configuration choices, you can eject
at any time. This command will remove the single build dependency from your project.
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject
will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.
You don't have to ever use eject
. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.
You can learn more in the Create React App documentation.
To learn React, check out the React documentation.
This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting
This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size
This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app
This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration
This section has moved here: https://facebook.github.io/create-react-app/docs/deployment
This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify