|
1 | 1 | [](https://www.contentstack.com/)
|
2 | 2 |
|
3 |
| - |
4 | 3 | # Build a Starter Website with React.js and Contentstack
|
5 | 4 |
|
6 | 5 | About Contentstack: Contentstack is a headless CMS with an API-first approach that puts content at the centre. It is designed to simplify the process of publication by separating code from content.
|
7 | 6 |
|
8 | 7 | About this project: React.js is a JavaScript library for dynamic websites with rich user interfaces. This guide will help you create a starter marketing website built using the React.js framework with minimal steps.
|
9 | 8 |
|
10 |
| - |
11 | 9 | 
|
12 | 10 |
|
13 |
| - |
14 | 11 | ## Live Demo
|
15 | 12 |
|
16 | 13 | You can check the [live demo](https://contentstack-react-starter-app.vercel.app/) to get first-hand experience of the website.
|
17 | 14 |
|
18 |
| - |
19 | 15 | ## Tutorial
|
20 | 16 |
|
21 |
| -We have created an in-depth tutorial on how you can create a React.js starter website using Contentstack’s Node.js SDK and fetch its content from Contentstack. |
| 17 | +We have created an in-depth tutorial on how you can create a React.js starter website using Contentstack's Node.js SDK and fetch its content from Contentstack. |
22 | 18 |
|
23 | 19 | [Build Website using React.js and Contentstack](https://www.contentstack.com/docs/developers/sample-apps/build-a-starter-website-using-react-js-and-contentstack/)
|
24 | 20 |
|
| 21 | +## More Resources |
| 22 | + |
| 23 | +- [Contentstack Documentation](https://www.contentstack.com/docs/) |
| 24 | +- [Region Support Documentation](https://www.contentstack.com/docs/developers/selecting-region-in-contentstack-starter-apps) |
| 25 | +- [React.js Documentation](https://reactjs.org/docs/getting-started.html) |
| 26 | + |
| 27 | +## Build System |
25 | 28 |
|
26 |
| -**More Resources** |
| 29 | +This project uses [Vite](https://vitejs.dev/) as a build tool for faster development and production builds. Vite offers: |
27 | 30 |
|
28 |
| -Read Contentstack [docs](https://www.contentstack.com/docs/) |
| 31 | +- Lightning-fast cold server start |
| 32 | +- Instant hot module replacement (HMR) |
| 33 | +- True on-demand compilation |
| 34 | +- Out-of-the-box TypeScript support |
29 | 35 |
|
30 |
| -Region support [docs](https://www.contentstack.com/docs/developers/selecting-region-in-contentstack-starter-apps) |
| 36 | +## Development Commands |
31 | 37 |
|
32 |
| -Learn about [React.js](https://reactjs.org/docs/getting-started.html) |
| 38 | +- **Development Server**: Run `npm run dev` or `npm start` to start the development server |
| 39 | +- **Production Build**: Run `npm run build` to create an optimized production build |
| 40 | +- **Preview Production**: Run `npm run preview` to locally preview the production build |
0 commit comments