CodeNanshu content for developers
Kick off your programming skills with codeNanshu. This plateform help you learn things that are really helpful for your requirements.
Want To Read Blog? You may want to check out our blog post official on codeNanshu.
🚀 Quick start
Create a Blog post.
Use the Codenanshu CLI to create a new post, by filling the starter template.
# use [blog, tutorial, notes] after new to generate template npx hygen new blog
Navigate into your new site’s directory and start it up.
git clone https://github.com/aianshume/codenanshu.git cd codenanshu yarn yarn dev
Open the source code and start editing!
Your site is now running at
Your admin is now running at
codenanshudirectory in your code editor of choice and edit any code. Save your changes and the browser will update in real time!
🚀 Quick Deploy (GitHub Pulls)
Deploy your changes with Github Pulls:
🧐 What's inside?
A quick look at the top-level files and directories you'll see in a Gatsby project.
. ├── node_modules ├── _templates/new ├── content ├── public ├── scripts ├── src ├── .gitignore ├── .babelrc ├── .env ├── jsconfig.json ├── next-sitemap.js ├── next-config.js └── README.md
/node_modules: This directory contains all of the modules of code that your project depends on (npm packages) are automatically installed.
/content: This directory will contain all markdown files of all the post and data in this website and read by gatsby and the nodejs for backend.
/src: This directory will contain all of the code related to what you will see on the front-end of your site (what you see in the browser) such as your site header or a page template.
srcis a convention for “source code”.
/public This directory will contain all the static files and folders that are going to use in this project
scripts This directory will contain all the script files that are resonsible for some spacific tasks
styles This directory will contain some css files to provide some extra styling but major styles are writen with the help of chakra UI
.gitignore a file which is responsibe to ignore some files from git
jsconfig.json This file describe how import and other things going to behave in development
next-sitemap.js This is the configuration file for next-sitemap package which help to generate sitemaps for site.
next-config.js This is the configuration file for NextJS
package.json: A manifest file for Node.js projects, which includes things like metadata (the project’s name, author, etc). This manifest is how npm knows which packages to install for your project.
README.md: A text file containing useful reference information about your project.
🎓 Learning Nextjs
Looking for more guidance? Full documentation for Nextjs lives on the website. Here are some places to start:
For most developers, we recommend starting with our in-depth tutorials for creating a site with NextJS. It starts with zero assumptions about your level of ability and walks through every step of the process.
To dive straight into code samples, head to our documentation. In particular, check out the Guides, API Reference, and Advanced tutorialss sections in the sidebar.
React NextJS Chakra UI MDX NodeJS Algolia Search Cloudinary
This project is build with