This is a website built with reactjs.
It has authentication pages such as signup, sign-in, forgot password, and so on.
We used the chartjs package for showing our chart related stocks, forex, and cryptos.
- Make sure that you have Node.js v8.15.1 and npm v5 or above installed.
- Clone this repo
- Move to the appropriate directory:
cd <YOUR_PROJECT_NAME>
. - Run
npm run setup
in order to install dependencies and clean the git repo. - At this point you can run
npm start
(in case this command didn't work as expected, you can executenode server
) to see the example app athttp://localhost:3000
. - Run
npm run clean
to delete the example app.
- Once the cloning is complete, you can build the image by
docker build -t <name>/<project_name>:<project_version> .
- Now to run the image execute
docker run -p <local>:140 <image_id>
- All the programable files are in the
./app
directory at the root of the project - Inside the
./app
there are two directories named./app/client
and./app/controller
- The
controller
is basically where front-end interacts with the back-end _ For example, there is aaccountController.js
file which handles login and logout and many more APIs which are related to the accounts. - The
client
directory is where front-end is setup _ the./client/src
is where important stuff has been coded - In the
./src
there is assests which contains images and svg files - The
./views
is where pages are pages come together using the./components
but the main focus of the files in./views
is to handle the data which is going through the front-end and also to keep the required components together in place. - The
./App.js
file is where the Routes are defined in the application.