CSI WebApp Template

screenshot of CSI WebApp Template

A customizable CLI tool to setup functional templates for web-apps and APIs

Overview:

The CSI-WebApp-Template is a CLI tool that generates a Node-js or Django template for a website. It provides features such as connecting to a database, a basic user model, user login/logout, admin login/logout, an admin panel for managing users, authentication with sessions, and required HTML pages linked with CSS. This tool can be installed on both Windows and Unix-based operating systems.

Features:

  • Connect to Database: The template has built-in functionality to connect to a database, allowing you to store and retrieve data.
  • Basic User Model: The template includes a basic user model, providing a foundation for user management.
  • User Login/Logout: Users can log in and log out of the website using the template.
  • Admin Login/Logout: Admin users have separate login/logout functionality for managing the website.
  • Admin Panel - Add, Update, Delete User: The template includes an admin panel for managing users, allowing the admin to add, update, and delete user accounts.
  • Authentication with Sessions: The template supports authentication with sessions, ensuring that users stay logged in until they log out.
  • Required HTML Pages linked with CSS: The template includes the necessary HTML pages with appropriate CSS stylesheets for a functioning website.

For Windows:

  1. Open a command prompt.
  2. Run the following command: npm install -g csi-cli

For Unix-Based OS:

  1. Open a terminal.
  2. Run the following command: npm install -g csi-cli

Requirements:

  • For Unix Based OS, ~/.local/bin must be added to PATH.
For Node-js Template:
  • Node-js (with npm)
  • MongoDB
For Django Template:
  • Python 3.6+ (with pip)
  • Django: Do - pip install django

Summary:

The CSI-WebApp-Template is a CLI tool that generates ready-to-use website templates for both Node-js and Django. With features such as database connectivity, user management, authentication, and an admin panel, it provides a solid foundation for developing web applications. The installation process is straightforward, and the tool supports both Windows and Unix-based operating systems. If you're looking to quickly start a web project using Node-js or Django, the CSI-WebApp-Template can be a valuable asset.