Full stack web app project for learning Node js and Vue js
This project can be used to manage your photos
.env
file will be needed for each /frontend
and /backend
For /frontend/.env
, you need to define
VUE_APP_WEBSITE_TITLE
- The title of the web appVUE_APP_COUNTER_NAME
- The name of the score fieldVUE_APP_API_URL
- The url of the backend api
For /backend/.env
, you need to define
MONGO_URI
- The address of your MongoDBPAGINATESIZE
- Default number of items shown per page (Recommended: 6)PAGINATEOFFSET
- Default number of offset when showing items (Recommended: 0)BACK_UP_LOCATION
- Relative path for storing back upBACK_UP_INTERVAL_DAY
- The number of days between back ups
After defining environmental variables, run npm run build
from /frontend
to build vue app
Then run node .
to start the server