Skip to content

Trying out Flask for the first time by building a CRUD Application.

Notifications You must be signed in to change notification settings

EliteLabyrinth/Game-App-Library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Game App Library


A game app library where backend is built using flask and frontend is built using vuejs.

Main Features:


  • Users can create a game.
  • Users can update a game.
  • Users can delete a game.

Screenshots:


Home Page:

home_page

Add Game:

add_game

Update Game:

update_game

Installation and setup instructions:


First clone down this repository. You will need node and npm globally installed on your machine. Also to run backend you need python and pip installed on your system.

it is recommended to create a virtual environment for your project. So that all the dependencies will be installed on this virtual environment and not globally.

Server:


Setup of Virtual Environment:

If you want all your dependencies installed globally on your machine you can skip this part.

to create a virtual environment and active it first go to the directory where you cloned this repository and type the following commands.

$ python -m venv env
$ source env/Scripts/activate

now the virtual environment will be activated. To deactivate type

$ deactivate
installation of dependencies:

To install dependencies go to the backend directory and type the following command.

$ pip install -r requirements.txt
Start the server:

Type

$ python main.py

This will let the server up and running.

Client:


To run the client go to the frontend directory and type the following commands.

$ npm install
$ npm run serve

Now go to your favorite browser and on the search bar type

locahost:8080

This will let your app start running.

About

Trying out Flask for the first time by building a CRUD Application.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published