{"id":16222799,"url":"https://github.com/freinet12/express-vue-starter","last_synced_at":"2025-04-08T01:41:16.841Z","repository":{"id":44182704,"uuid":"233294816","full_name":"freinet12/express-vue-starter","owner":"freinet12","description":"A Full-Stack Express \u0026 Vue Project Starter","archived":false,"fork":false,"pushed_at":"2022-12-16T07:50:06.000Z","size":963,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-14T01:45:46.712Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/freinet12.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-11T20:45:22.000Z","updated_at":"2023-10-20T19:41:06.000Z","dependencies_parsed_at":"2023-01-29T11:16:26.690Z","dependency_job_id":null,"html_url":"https://github.com/freinet12/express-vue-starter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freinet12%2Fexpress-vue-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freinet12%2Fexpress-vue-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freinet12%2Fexpress-vue-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freinet12%2Fexpress-vue-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/freinet12","download_url":"https://codeload.github.com/freinet12/express-vue-starter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247761051,"owners_count":20991533,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T12:15:18.056Z","updated_at":"2025-04-08T01:41:16.825Z","avatar_url":"https://github.com/freinet12.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Express + Vue Starter\nThis is a Full-Stack project starter using Express.js and Vue.js.\nThis is useful if you have to build similar projects. You can just clone the repo and start bulding your app without having to setup everything from scratch. \u003cbr\u003e\n\u003ca href=\"https://laravel-mix.com/docs/5.0/installation\"\u003eLaravel Mix\u003c/a\u003e is used to compile all the front-end assets.\n\u003cbr\u003e\n\u003cbr\u003e\n# Getting Started\n  - Installation:\u003cbr\u003e\u003cbr\u003e\n      - Clone this repo\u003cbr\u003e\u003cbr\u003e\n      - run \u003ccode\u003enpm install\u003c/code\u003e to install all dependencies\u003cbr\u003e\u003cbr\u003e\n      - Open the .env-example file and copy the contents to a .env file in the root of the project.\n\n  - Run\n      - Note: you'll need two ternimal windows open so you can run the below commands, one in each terminal\n      - Start the Express server by running : \u003ccode\u003enpm start\u003c/code\u003e or if you have nodemon installed: \u003ccode\u003enodemon npm start\u003c/code\u003e\n      - Run \u003ccode\u003enpm run watch\u003c/code\u003e to compile the front-end assets and vue components\n      - Go to http://localhost:3000 to see the app.\n\n  - Database Setup\n      - MySQL is the default database server. To use PostgreSQL or another relational database, simply update the environment variables:\n        - DEFAULT_DB_CONNECTION=[ your default database server ie: \u003ccode\u003emysql\u003c/code\u003e, \u003ccode\u003epostgres\u003c/code\u003e, \u003ccode\u003esqlite\u003c/code\u003e, etc.]\n        - mysql2 is already installed and ready to go.\n        - This project uses Sequelize as the ORM. Learn how to use Sequelize \u003ca href=\"https://sequelize.org/v5/manual/getting-started.html\"\u003ehere\u003c/a\u003e\n        - After you have created and connected a database, go to the main \u003ccode\u003eapp.js\u003c/code\u003e file and uncomment this block: \u003cbr\u003e\n          \u003ccode\u003e\n                models.sequelize.sync().then( () =\u003e {\n                    console.log('Database synced successfully!');\n                }).catch( (err) =\u003e {\n                    console.error(err, \"Something went wrong\");\n                });\n          \u003c/code\u003e\n  \n  - Express\n      - All express views are located in \u003ccode\u003e resources \u003e\u003e assets \u003e\u003e views\u003c/code\u003e\n      - All API related routes should go in \u003ccode\u003e routes \u003e\u003e api.js\u003c/code\u003e\n      - All user specific routes should go in \u003ccode\u003e routes \u003e\u003e users.js \u003c/code\u003e\n      - All other web routes should go in \u003ccode\u003e routes \u003e\u003e web.js \u003c/code\u003e\n      \n  - Vue\n      - All Vue components and related scripts are in \u003ccode\u003eresources \u003e\u003e assets \u003e\u003e js\u003c/code\u003e\n  \n  \n \n       \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreinet12%2Fexpress-vue-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffreinet12%2Fexpress-vue-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreinet12%2Fexpress-vue-starter/lists"}