email: [email protected]
password: admin1234
please do not add or delete content, just look how it works..
2. Install dependencies.
🎉 To start your development process, Run
gatsby develop
in the terminal. This will prepare the project for work and launch watch tasks to update files on-the-fly as you work.
👻 Production-ready files, Run
gatsby build
and grab entirepublic
folder. 💜
Tech | Description | Using |
---|---|---|
React | Blazing fast workflow for static web with React.js | Gatsby, React |
CSS | Compiled CSS styles, to automate the tedious BEM notation it's better to use CSS/SASS modules, Components are styled using it and inside pages folder is used styled-components. | (sass/modules,autoprefixer,helmet) styled-components |
JavaScript | It has been built with default configurations.. Also In this case used prop-types insted of TypeScript but at some points U can omit it at all. | Babel, Typechecking Customization |
Offline-first | Progressive Web App (PWA) | Service worker |
GraphQL | Compared to be an alternative and even replace to REST web services, 'in a couple of years'. But main reason of usage is that Gatsby is powered by GraphQL. |
GraphQL |
DATA SOURCE | In this case I used simple Markdown. But it can be any type of database, APIs. etc | remark filesystem |
Hosting & CMS | Hosting and Serverless backend services for static websites. | Netlify, Content Management System |
-
Contains production-ready files: JavaScript and CSS bundles and all other dependency stuff.
-
-
components/
- '****' #Components
-
pages/
- index.js #Main page.
- contact/ #Contact form page.
- blog/ #Blog page with some content inside.
- about/ #Info about me.
- gallery/ #Gallery.
- projects/ #Projects.
-
templates/ #Actual pages based on Markdown files.
- post/
-
markdown/ #Data source
- blog/
- gallery/
- projects/
-
If you have encountered a bug, or have a useful suggestion how to improve code
create issue, or make a pull request!