WebSanity Builder is a powerful, user-friendly web application designed to help you effortlessly create a stunning looking website.
To get started with WebSanity Builder, follow these steps:
git clone https://github.com/egarrisxn/websanity-builder.git
cd websanity-builder
pnpm
:pnpm install
To integrate Sanity.io with your project, follow these additional steps:
Sign up on Sanity.io and create a new account if you haven't already.
Create a new project on Sanity.io and configure it.
Generate a SANITY_API_TOKEN
and SANITY_PROJECT_ID
from your Sanity project.
Create a .env
file in the root of your project based on .env.example
.
Replace placeholders with your actual API token, project ID, and dataset information.
After configuring your environment variables, run the following command:
pnpm run dev
This will launch the development server on https://localhost:3000
.
Navigate to localhost:3000/studio
to access your Sanity Studio interface.
To build the project for production, run:
pnpm run build
This will create an optimized build of your application.
To start the production server, run:
pnpm run start
This will start the Next.js server to serve your optimized application.
To check code formatting with Prettier:
pnpm run format
To lint your code with ESLint:
pnpm run lint
To automatically fix linting issues:
pnpm run lint:fix
Contributions are welcome. If you'd like to contribute, please follow these steps:
This project is licensed under the MIT license.
Feel free to reach out to me via GitHub, or email at egarrisxn@gmail.com.