fullstack-generator
v1.0.7
Published
The Full Stack Generator is a Node.js command-line tool packaged for npm, designed to streamline the initiation of full-stack applications.
Downloads
29
Maintainers
Readme
Full-Stack Application
The Full Stack Generator is a Node.js command-line tool packaged for npm, designed to streamline the initiation of full-stack applications. This tool automates the creation of a project structure that includes both a React Vite frontend and an ASP.NET Core backend. Users can quickly set up a full-stack development environment by installing the package globally and using a simple command to generate a new full-stack application in their desired directory.
Getting Started
Follow the instructions below to set up and run the full-stack application on your local machine.
Prerequisites
Make sure you have the following installed on your machine:
Usage
Install the package globally:
npm install -g fullstack-generator
Generate a new full-stack application:
generate-fullstack <yourAppName>
Follow any additional prompts or instructions during the generation process.
Installation
Clone this repository to your local machine:
git clone https://github.com/saitnyalcin/fullstack-generator
Change into the project directory:
cd fullstack-generator
Run the following command to generate a full stack application:
generate-fullstack <yourAppName>
Frontend (React Vite)
Change into the
frontend
directory and install the dependencies:cd frontend
npm install
Run the development server:
npm run dev
This will start the React development server.
Open your browser and navigate to https://localhost:5173 to view the front end.
Backend (ASP.NET Core)
Change into the
backend
directory:cd backend
Run the backend application:
dotnet run
This will start the ASP.NET Core backend server.
Open your browser and navigate to the application URL that is mentioned in the launch settings to view the backend.
Customization
- You can customize the frontend by modifying files in the
frontend
directory. - The backend can be customized by modifying files in the
backend
directory.
Additional Information
For more details about the tools used in this project, refer to the official documentation:
License
This project is licensed under the MIT License.