Giter VIP home page Giter VIP logo

webappsecproject's Introduction

WebAppSecProject - Alunno

WIP btw ๐Ÿง๐Ÿง๐Ÿง

What is Alunno?

Alunno is a web-based course management application for WebAppSec course which uses Django and React.

๐Ÿš€ Fast

๐ŸŽจ Beautiful interface

๐Ÿ›ก๏ธ Super Duper Secure

๐ŸŒŽ Multilingual

Getting Started

Prerequisites

  • Python: ^3.10.0
  • Nodejs: 16.15.0

Environment variables

  • Use .env.local to store your secrets (*.local files is ignored). Ex: Django secret key, ...
  • Use .env to store other variables.
  • .env* files should place in backend or frontend folder.

Code formatting

After setup, you can format code with the following command:

  • Backend:

    black { your file or folder } # Python only
    • Ex: If your current directory is backend, you can run:

      black .
  • Frontend

    pnpm format

Django secret key

After setup, if you want to generate new Django secret key, you can run:

manage.py djecrety

Setup

  1. Get the source code
git clone https://github.com/ducluongtran9121/Web-Application-Project.git
cd Web-Application-Project
  1. Set up
  • Set up backend

    • Create environment

      cd backend
      python -m venv .venv # Or python3
    • Active environment

      .venv\Scripts\Activate.ps1 # Powershell
      .venv\Scripts\activate.bat # Command Prompt
      .venv\Scripts\activate # Unix
    • Install dependencies

      pip install -r .\requirements.txt
    • Add your secret key

      echo "DJANGO_SECRET_KEY={ Your secret key }" > .env.local
    • Migrate

      python manage.py makemigrations
      python manage.py migrate
  • Set up frontend

    • Install dependencies

      cd frontend
      pnpm i

Run

  • Backend

    python manage.py runserver
  • Frontend

    • To run dev server

      pnpm dev
    • To build the app

      pnpm build

Tech Stack

Teams


Ngo Duc Hoang Son

๐Ÿ’ป ๐Ÿ“– ๐ŸŽจ ๐Ÿšง

thihuynhdotexe

๐Ÿ’ป ๐Ÿšง ๐Ÿ“†

janlele91

๐Ÿ’ป ๐Ÿšง ๐Ÿ“†

webappsecproject's People

Contributors

pinanek avatar

Forkers

meobeongok

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.