- Run
pip install -r requirements.txtto install all dependencies written inrequirements.txt.
python3 app.pyin backened It will start the flask app indevelopment. This is for running app on local system.npm run servein frontend for serving the app from frontend on Vue.~/go/bin/MailHogfor starting mailhog on local server.celery -A app.celery worker -l infoin backened to start the celery workers.celery -A app.celery beat --max-interval 1 -l infoin backened to start the celery beat and scheduler.redis-clito start the redis server in terminal.
backenedandfrontendfolders, which will be described next.Project Documentationhaving a brief description about app- Have an
yamlfile as api documentation. Project Documentationhaving a brief description about app- A
readmefile andrequirementsfile
project.sqlite3is the sqlite database. It can be anywhere on the machine, just the adjustment in the path inapp.pyis required. One of the database is shipped for testing.- The application code for my app is
/ templatesis the default folder where templates are stored which is used for sending mails.- It also have
api.py,cache.py,cachingdata.py,clery.py,emailgenr.py,models.pyandtasks.pyfolders, which cointains all apis, caching initialization, caching, celery initialization, email generation, backend tasks like reminders export etc. respectively. statica folder in which we have csv files of exported data.
node_modulesrequired for running VueJS CLIpublichaving public componentsassetshaving public necessary images and two other foldersblogsandprofileboth having user uploaded blog image and uploaded profile image respectively.srcis the default folder where frontend components and routers are located.componentswhich has vue components for frontend,routerwhich containsindex.jsfor defining different routes,App.vuethe page on which app is being served,index.jsfor app start andstoreto create the store for vue.- A
readmefile and other required configurations.
mad2-project
├── backend
| ├── app.py
| ├── api.py
| ├── cache.py
| ├── cachingdata.py
| ├── clery.py
| ├── database.sqlite3
| ├── emailgenr.py
| ├── models.py
| ├── tasks.py
| ├── templates
| | ├── blogs_csv.html
| | ├── daily_reminder.html
| | └── monthly_report.html
| └── Static
|
├── frontend/
│ ├── public
| ├──src
| | ├── assets
| | | ├── Blogs
| | | └── Profile
| | ├── components
| | | ├── CommentBlog.vue
| | | ├── EditBlog.vue
| | | ├── EditProfile.vue
| | | ├── LoginSignup.vue
| | | ├── MyFollowers.vue
| | | ├── MyFollowing.vue
| | | ├── NavBar.vue
| | | ├── PostBlog.vue
| | | ├── PostEngage.vue
| | | ├── ReadBlog.vue
| | | ├── SPage.vue
| | | ├── StartPage.vue
| | | └── UserProfile.vue
| | ├── router/index.js
| | ├── store/inex.js
| | ├── App.vue
| | └── main.js
| ├── .gitignore
| ├── babel.config.js
| ├── jsconfig.json
| ├── package-lock.json
| ├── package.json
| ├── README.md
| └── vue.config.js
├── Bloglite.yaml
├── requirements.txt
├── Project_Report_ BLOG-LITEV2.pdf
└── readme.md
