This is the official repository of thewize.in
The App is completly written in JavaScript so, You should have nodejs installed. if you don't have node you can install from here
to check node installed correctly enter following command in CMD or Terminal.
node --version
similary for NPM
npm --version
if goes right you can see version of node and npm.
This application store data in MongoDB database.
Install from Here
To enhance performance we used Reddis for Caching.
Install from Here
(Install stable version)
open CMD or Terminal and Enter following command.
git clone https://github.com/thewize-in/wize.git
As you open project folder you will see that this project is divided into two folders frontend and backend
Since application is written in node means there must be dependencies and our project is divided into frontend and backend so we would need to install there dependencies seperatly.
Install frontend dependencies
i assume your are in project's root directory
Enter the following in CMD or Terminal
change directory
cd frontend
then
npm install
Install backend dependencies
i assume your are in project's root directory
Enter the following in CMD or Terminal
change directory
cd backend
then
npm install
we have install all our dependencies now we are ready to rock and roll.
Our frontend and backend is written in vuejs and typescript it need to be build before run.
I assume you are in frontend directory
Build frontend
npm build
Build backend
I assume you are in backend directory
npm build
Run
I assume you are in backend directory
nodemon src/index.ts
if everything goes smooth you can see application running on http://localhost:3000
There is one .env
file that we need to create in root directory which store all our credentials like google client id, database url etc and is must required. otherwise app won't start.
since this is sensitive data so we don't share that file on github. it stay in our local environment.