Code Monkey home page Code Monkey logo

devzery's Introduction

Devzery

Tech Stack

  1. Flask
  2. PostgreSQL
  3. React.js

Running the Project

  1. Fork and Clone the Repository.
  2. Move to the backend directory.
cd backend
  1. Install the requirements.txt file
pip install -r requirements.txt
  1. Create virtual environment and depending on OS, activate it.
virtualenv env
env/Scripts/activate

or

virtualenv env
source env/Scripts/activate
  1. Make a .env file and add the PostgreSQL username (DB_USERNAME), password (DB_PASSWORD), host (DB_HOST), Database Name (DB_NAME) in it.
DB_USERNAME=
DB_PASSWORD=
DB_HOST=
DB_NAME=
  1. Run the Flask server.
python app.py
  1. Open another terminal, and move to frontend directory.
cd frontend
  1. Install the packages
yarn
  1. Run the frontend
yarn dev

Verify Data in PostgreSQL

  1. Open psql Command Shell
  2. \l for viewing all databases.
  3. \c <db-name> for switching to the database where data is stored.
  4. select * from "user"; for viewing all the records.

devzery's People

Contributors

devesh-2002 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.