Static Blog Site connected with notion.
To get a local copy up and running follow these simple example steps:
-
Clone the repo
git clone https://github.com/sahrohit/blog.git
-
Install the project dependencies
pnpm install
-
Rename the
env.example
toenv.local
& update you enviroment variables in all the apps.API_KEY = YOUR_API_KEY;
-
Run the following commands to start the development server
pnpm dev
Key | Type | Description | Example |
---|---|---|---|
Slug | Text | URL Slug for the Post | new-blog |
Created At | Created Time | Time of Blog Creation | February 20, 2024 9:56 AM |
Updated At | Last Edited Time | Last Edited Time for the Blog | February 20, 2024 9:56 AM |
Status | Select | Status of the Blog | ✅ Published |
Excerpt | Text | Small description of the Blog | New Blog New Content |
Featured | Checkbox | Mention in Featured Section | ☑️ |
Tags | Multi Select | Tags for the Blog | Start, New,... |
To initialize the project,
pnpm dev
- Run project in development mode
pnpm build
- Generate production build for the project
For other commands, check scripts
in package.json.
- AstroJS
- Typescript
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request