- Node JS (for
npm
)
-
cd
into thefrontend
folder -
Install the dependencies:
npm install
-
Run the project in development mode:
npm run serve
. This will start the frontend server onhttp://localhost:8080/
.
NOTE: To compile for production use npm run build
.
- The project configuration is in the
src/main.js
file. - The
views
folder contains the pages (or routes). - The Vue components used in the pages are in the
src/components
folder. - The
views
andcomponents
folders have the following structure:common
: Files common to both mentor and menteementor
: Files unique to the mentormentee
: Files unique to the menteementorship
: Files unique to the mentorship between mentors and mentees- Files directly inside the
views
andcomponents
folder are for users who are not signed in (i.e. visitors)
- The Vue Router configuration is in
src/router/index.js
. - The Vue Store (Vuex) configuration is in
src/store/index.js
. - The custom CSS files used are in the
src/assets/styles/
folder. - The configuration for Axios (which is used for making various requests such as
GET
,POST
,DELETE
etc.) is inapi/my-axios.js
.