• Stars
    star
    1,076
  • Rank 42,988 (Top 0.9 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created almost 6 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

๐Ÿฅ˜ THE Strapi demo application

FoodAdvisor - Strapi Demo

FoodAdvisor

Welcome to FoodAdvisor, the official Strapi demo application. This repository contains the following:

  • Strapi project with existing Content-types and data (/api)
  • Next.js client ready to fetch the content of the Strapi application (/client)

Open in Gitpod

Get started

You can get started with this project locally on your machine by following the instructions below or you can request a private instance on our website.

You can also fork this repository and deploy it on Strapi Cloud

Prerequisites

Be sure to have the correct env variables for each part:

  • Strapi (example in ./api/.env.example):

    • STRAPI_ADMIN_CLIENT_URL=<url-of-nextjs>
    • STRAPI_ADMIN_CLIENT_PREVIEW_SECRET=<a-random-token>
  • Next.js (already in ./client/.env.development):

    • NEXT_PUBLIC_API_URL=<url-of-strapi>
    • PREVIEW_SECRET=<the-same-random-token-as-for-strapi>

1. Clone FoodAdvisor

  • Clone the repository by running the following command:
git clone https://github.com/strapi/foodadvisor.git
  • Navigate to your project folder by running cd foodadvisor.

2. Start Strapi

Navigate to your ./my-projects/foodadvisor/api folder by running cd api from your command line.

  • Run the following command in your ./foodadvisor/api folder:
yarn && yarn seed && yarn develop

This will install the dependencies, fill your application with data and run your server. You can run these commands separately.

Credentials

3. Start Next.js

Navigate to your ./my-projects/foodadvisor/client folder by running cd client from your command line.

  • Run the following command in your ./foodadvisor/client folder
yarn && yarn dev

This will install the dependencies, and run your server. You can run these commands separately.

Features overview

User


An intuitive, minimal editor The editor allows you to pull in dynamic blocks of content. Itโ€™s 100% open-source, and itโ€™s fully extensible.
Media Library Upload images, video or any files and crop and optimize their sizes, without quality loss.
Flexible content management Build any type of category, section, format or flow to adapt to your needs.
Sort and Filter Built-in sorting and filtering: you can manage thousands of entries without effort.
User-friendly interface The most user-friendly open-source interface on the market.
SEO optimized Easily manage your SEO metadata with a repeatable field and use our Media Library to add captions, notes, and custom filenames to optimize the SEO of media assets.

Global


Customizable API: Automatically build out the schema, models, controllers for your API from the editor. Get REST or GraphQL API out of the box without writing a single line of code.
Media Library: The media library allows you to store your images, videos and files in your Strapi admin panel with many ways to visualize and manage them.
Role-Based Access Control (RBAC): Role-Based Access Control is a feature available in the Administration Panel settings that let your team members have access rights only to the information they need.
Internationalization (i18n): Internationalization (i18n) lets you create many content versions, also called locales, in different languages and for different countries.
Audit LogsThe Audit Logs section provides a searchable and filterable display of all activities performed by users of the Strapi application
Data transfer Streams your data from one Strapi instance to another Strapi instance.
Review Worfklows Create and manage any desired review stages for your content, enabling your team to collaborate in the content creation flow from draft to publication.

Resources

Docs โ€ข Demo โ€ข Next.js Starter โ€ข Forum โ€ข Discord โ€ข Youtube โ€ข Try Enterprise Edition โ€ข Strapi Design System โ€ข Marketplace โ€ข Clou Free Trial

More Repositories

1

strapi

๐Ÿš€ Strapi is the leading open-source headless CMS. Itโ€™s 100% JavaScript/TypeScript, fully customizable and developer-first.
TypeScript
62,714
star
2

strapi-examples

๐ŸŽ“ List of examples using Strapi
1,347
star
3

strapi-docker

Install and run your first Strapi project using Docker
JavaScript
1,164
star
4

nextjs-corporate-starter

Strapi Demo application for Corporate Websites using Next.js
TypeScript
1,026
star
5

documentation

Strapi Documentation
JavaScript
1,017
star
6

community-content

Contribute and collaborate on educational content for the Strapi Community
JavaScript
572
star
7

buffet

Buffet.js โ€” React Components Library made with styled-components
JavaScript
538
star
8

design-system

Strapi.io's design system ๐Ÿš€
TypeScript
465
star
9

strapi-starter-next-blog

Strapi Starter Next Blog
JavaScript
383
star
10

strapi-starter-next-corporate

Next.js starter for creating a corporate site with Strapi.
JavaScript
346
star
11

starters-and-templates

Monorepo for all official Strapi v4 templates
JavaScript
325
star
12

strapi-sdk-javascript

๐Ÿ”Œ Official JavaScript SDK for APIs built with Strapi.
TypeScript
272
star
13

strapi-starter-next-ecommerce

Strapi Starter Next.js E-commerce
JavaScript
214
star
14

strapi-starter-nuxt-blog

Strapi Starter Nuxt Blog
Vue
181
star
15

strapi-starter-nuxt-e-commerce

Strapi Starter Nuxt.js E-commerce
Vue
179
star
16

strapi-starter-gatsby-blog

Updated version of the first Gatsby starter with much more features
JavaScript
141
star
17

blocks-react-renderer

A React renderer for the Strapi's Blocks rich text editor
TypeScript
129
star
18

strapi-starter-react-blog

Strapi Starter React Blog
JavaScript
122
star
19

strapi-next-14-dashboard-demo

TypeScript
107
star
20

strapi-legacy-gatsby-blog

Strapi Starter Gatsby Blog
JavaScript
102
star
21

strapi-legacy-blog

Starter for creating a simple blog with Strapi.
JavaScript
97
star
22

strapi-heroku-template

Strapi official template for Heroku 1 click deploy button
JavaScript
94
star
23

strapi-plugin-seo

The official plugin to make your Strapi content SEO friendly
JavaScript
88
star
24

strapi-template-corporate

Template to create Strapi projects pre-configured for corporate sites
JavaScript
84
star
25

waterline-graphql

GraphQL adapter for the Waterline ORM.
JavaScript
70
star
26

rfcs

RFCs for Strapi future changes
68
star
27

strapi-starter-angular-blog

Strapi Starter Angular Blog
TypeScript
66
star
28

strapi-starter-vue-blog

Strapi Starter Vue Blog
Vue
65
star
29

strapi-template-blog

Template to create Strapi projects pre-configured for blogs
JavaScript
61
star
30

strapi-template-ecommerce

Template to create Strapi projects pre-configured for e-commerce apps
JavaScript
58
star
31

migration-scripts

Collection of Strapi Migration scripts
JavaScript
58
star
32

one-click-deploy

Shell
58
star
33

codemods

A set of scripts to help migrate Strapi plugins (and in some cases Strapi applications) from v3 to v4
JavaScript
44
star
34

strapi-heroku-cms-demo

Repository for "CMS" from the Gatsby / Strapi Video Tuturial Series
JavaScript
36
star
35

strapi-starter-gridsome-portfolio

Build portfolio sites using Strapi and Gridsome
Vue
33
star
36

strapi-starter-gridsome-blog

Build blog sites using Strapi and Gridsome
Vue
32
star
37

strapi-starter-gatsby-catalog

Strapi Starter Gatsby Catalog
JavaScript
28
star
38

strapi-starter-gatsby-corporate

JavaScript
27
star
39

strapi-docs

The Strapi documentation.
25
star
40

strapi-template-event-vercel

Template to create Strapi projects pre-configured for event using the Vercel Event kit
JavaScript
24
star
41

strapi-conf-next-template

TypeScript
23
star
42

strapi-plugin-open-ai

The official plugin that allows you to create Open AI completion from a prompt
JavaScript
18
star
43

LaunchPad

Official Strapi Demo application
TypeScript
18
star
44

bookshelf-cache-redis

๐Ÿ”ฅ A robust, performance-focused caching solution for Bookshelf based on top of Redis.
JavaScript
17
star
45

strapi-meetups

Learn, share and collaborate with the community at Strapi meetups. Contributions welcome.
15
star
46

strapi-studio

The official open-source repository of the Strapi Studio.
13
star
47

strapi-generate-admin

Generate the default admin panel inside your Strapi application.
JavaScript
13
star
48

strapi-conf-admin-template

Template for the StrapiConf Admin
JavaScript
11
star
49

community-resources

Explore and learn a diverse range of ways to contribute to the Strapi Community
11
star
50

strapi-template-portfolio

Template to create Strapi projects pre-configured for portfolio sites
JavaScript
11
star
51

strapi-plugin-gatsby-preview

JavaScript
10
star
52

strapi-generate-users

Generate user features for your Strapi application.
JavaScript
9
star
53

components

Official Strapi components library
9
star
54

eslint-config

Strapi eslint config
JavaScript
8
star
55

strapi-generate-email

Generate the default email features for a Strapi application.
JavaScript
7
star
56

strapi-template-next-example

JavaScript
7
star
57

strapi-generate-upload

Generate the default upload features for a Strapi application.
JavaScript
7
star
58

.github

Community health files for the @strapi organization
5
star
59

strapi-generate

JavaScript
5
star
60

strapi-template-catalog

JavaScript
5
star
61

best-practices-samples

Sample project code for Strapi Best Practice calls
JavaScript
5
star
62

internal-lms

Strapi's Internal Learning Management System
TypeScript
5
star
63

strapi-cloud-template-blog

JavaScript
5
star
64

strapi-settings-manager

Strapi plugin built to let you easily configure your Strapi applications.
JavaScript
4
star
65

plugin-rfc-examples

JavaScript
3
star
66

strapi-generate-api

JavaScript
3
star
67

strapi-generate-new

JavaScript
3
star
68

pack-up

Simple tools for creating interoperable CJS & ESM packages.
TypeScript
3
star
69

javascript

Strapi Javascript Style Guide
2
star
70

security-patches

Patch-package patches for TID2212
2
star
71

foodadvisor-migration-example

JavaScript
2
star
72

sdk-plugin

CLI toolkit for developing a Strapi plugin
TypeScript
2
star
73

dbt-config

1
star
74

v5-experiments

TypeScript
1
star
75

strapi-provider-upload-rackspace

Archived copy of the Strapi Rackspace upload provider
JavaScript
1
star