Giter VIP home page Giter VIP logo

onlineexam's Introduction

About Online Exam

  • this is a simple project which i tried to make this system an SPA system
  • I have choosen laravel as backend and vue for front-end for this project
  • Aloguth this system is simple i tried to make the backend code more reuse-able using services class
  • Also i have emplement all feature of vue js 3 composition api, for the next update i want to emplement laravel websocket and realtime intractions

How to up and run backend of this project

  • after clone this project fist run composer install and npm install inside OnlineExam and then go to vue dir and run npm install

  • to up and run this project first create database

  • create a new env file for laravel which is the backend of this project

  • set the required env credentails correctly as follows

  • ** DB_CONNECTION="mysql" **

  • ** DB_HOST=127.0.0.1 **

  • ** DB_PORT=3306 **

  • ** DB_DATABASE=databaseName **

  • ** DB_USERNAME=databaseUsername **

  • ** DB_PASSWORD=databasePassword **

  • after seting the env file correctly migrate the migration and seed the database

  • in laravel dir run php artisan serve

  • ** please serve laravel 127.0.0.1:8000 ** case axiosClient to vue expose that url as base but if you serve at some other url please change base url of axiosClient which in vue/src/axios/index.js

How to up and run front-end of this project

  • open terminal or cmd inside vue dir which inside OnlineExam dir and run npm run dev
  • and copy the url which is created by runing npm run dev

onlineexam's People

Contributors

mohamadaliqurbani avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.