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
-
Start developing.
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
http://localhost:3000
!Your admin is now running at
http://localhost:3000/admin
!Open the
codenanshu
directory 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.src
is 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.
π¨βπ¬
Tech Stacks React
NextJS
Chakra UI
MDX
NodeJS
Algolia Search
Cloudinary
This project is build with