Coder Social home page Coder Social logo

software-engg-frontend's Introduction

Project Name

This is a sample project that uses React for the frontend and Django for the backend.

Development Environment Setup

System Requirements

  1. Git should be installed on your machine.
  2. Node.js should be installed. You can download it from https://nodejs.org/.
  3. Python 3.6 or higher should be installed on your machine.
  4. PostgreSQL should be installed on your machine.

Steps to Prepare the Workspace

  1. Clone this repository: git clone https://github.com/username/projectname.git.
  2. cd into the projectname directory.
  3. Run npm install to install the required dependencies for the React app.
  4. cd into the backend directory.
  5. Create a Python virtual environment by running python -m venv venv.
  6. Activate the virtual environment by running source venv/bin/activate.
  7. Run pip install -r requirements.txt to install the required dependencies for the Django app.
  8. Create a PostgreSQL database named projectname.
  9. Create a .env file in the backend directory with the following contents:

Replace username and password with your PostgreSQL username and password.

Running the Application

  1. cd into the projectname directory.
  2. cd into the backend directory.
  3. Activate the virtual environment by running source venv/bin/activate.
  4. Run python manage.py migrate to create the database tables.
  5. Run python manage.py runserver to start the Django development server.
  6. Open a new terminal window and cd into the projectname directory.

Building the Frontend

  1. cd into the frontend directory.
  2. Run npm start to start the React development server.
  3. Open your browser and go to http://localhost:3000/.

software-engg-frontend's People

Contributors

arshdeep-singh-01 avatar sukhmeetsingh2002 avatar crypticmessenger 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.