My personal internet existence. A codegarden is a digital space for a developer to grow and nourish themselves into the best programmer they can be.
Wanna know what I used to build it without diving too far into the source code? Yeah?! Well, here you go.
- Framework (Next13 /app dir): Next.js
- Deployment: Vercel
- CMS/Content: contentlayer
- Styles: tailwindcss
- Database: Planetscale
Not to mention my blood, sweat, and tears. Maybe some banging my head on the table as well.
- move all api routes to a
/api
folder - redesign
/reading
- create
/snippets
- create
/bookmarks
- add error boundaries
- custom 404 page
- custom 500 page
There a few minor steps to getting up and running.
git clone https://github.com/emma-campbell/codegarden
yarn # npm i
If you want to mess around with database features (metrics like views and likes) then you'll need to set up a PlanetScale database.
Luckily, I have a quick blurb about setting up the database and necessary links here. Keep your database url in a safe place. You'll want to duplicate the .env.example
file and replace anything in angled brackets <replace_me>
with the needed value.
yarn dev
The repository is structure as follows
.
βββ CODE_OF_CONDUCT.md
βββ CONTRIBUTING.md
βββ LICENSE.md
βββ README.md
βββ content
βββ contentlayer.config.js
βββ lib
βββ next-env.d.ts
βββ next.config.js
βββ node_modules
βββ package.json
βββ pages
βββ postcss.config.js
βββ prisma
βββ public
βββ styles
βββ tailwind.config.js
βββ tsconfig.json
βββ ui
βββ yarn.lock
content
- articles/posts and related definitionslib
- resuable library code (like hooks)pages
- next pagesprimsa
- database ORM definitionspublic
- hosted assetsstyles
- css and styling filesui
- reusable components
If you see an open issue and want to tackle it, please be my guest! I am happy to help you boast the number of repo's your contributing to (while, admittably there are other more import open-source projects to constribute to).
My contribution guidelines are a working in progress, but any current standards are documented on my contributions page
Please reference my license for relevant information.