Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

De bloat seed data #141

Open
wants to merge 222 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
222 commits
Select commit Hold shift + click to select a range
bb00bf9
Migrate to beta.19.3
alexandrebodin Mar 9, 2020
9fb59ff
Upgrade to beta.20
alexandrebodin Apr 21, 2020
e82cb8b
Merge pull request #39 from strapi/chore/upgrade-beta-20
alexandrebodin Apr 21, 2020
ef0e27c
Change logo
soupette May 28, 2020
9e90e10
Fix lint
soupette May 29, 2020
3eca597
Merge pull request #41 from strapi/chore/fix-logo
soupette May 29, 2020
cba2ad4
Upgrade to the stable version
lauriejim Jun 8, 2020
d6f2c4b
Merge pull request #42 from strapi/version-stable
alexandrebodin Jun 8, 2020
9fe1bbd
Update Strapi version to 3.0.5
lauriejim Jul 7, 2020
eba13e7
Merge pull request #45 from strapi/update/version
lauriejim Jul 7, 2020
1263fcb
Update to 3.1.0-alpha.2
pierreburgy Jul 19, 2020
0539c9e
Fix server.json file
pierreburgy Jul 19, 2020
c9149d3
Add .env to .gitignore
pierreburgy Jul 19, 2020
bf611d1
Remove default auth secret value
pierreburgy Jul 20, 2020
c35e6c0
Upgrade to 3.1.0
pierreburgy Jul 22, 2020
2a08149
Merge pull request #46 from strapi/update-3.1.0-alpha.2
alexandrebodin Jul 22, 2020
adc1a64
Create dump with new administrator fields
pierreburgy Jul 22, 2020
f37dfbc
Merge pull request #48 from strapi/dump-improvement
pierreburgy Jul 23, 2020
ef6cba1
Fix bug with upgrade
alexandrebodin Aug 7, 2020
39ebb4d
Update to 3.1.3 and fix #51 issue create admin
lauriejim Aug 10, 2020
8131ff5
Fix conflicts
lauriejim Aug 10, 2020
c1341d1
Update to 3.1.4 and update/add .env in seed script
lauriejim Aug 18, 2020
61edac9
Updates to work on again
lauriejim Sep 1, 2020
a620799
Fix typo
lauriejim Sep 1, 2020
bc39694
Remove .env exemple
lauriejim Sep 1, 2020
b1521be
Merge pull request #52 from strapi/update-version-3.1.3
lauriejim Sep 3, 2020
4d9aa98
Merge branch 'master' of github.com:strapi/foodadvisor into audit-log
lauriejim Sep 14, 2020
fc35580
Review data structure for audit log feature
lauriejim Sep 14, 2020
2a663d7
Fix data for _prefixed attribute for history
lauriejim Sep 14, 2020
ac0aa54
Update data structure and improve middleware history
lauriejim Oct 1, 2020
1aa0193
Fix path lines in README.md
feute Oct 21, 2020
93c36da
Add `/api` and `/client` to Path lines in README.md
feute Oct 27, 2020
fedf705
Merge pull request #57 from feute/patch-1
lauriejim Oct 29, 2020
644fa5f
update version 3.2.5
lauriejim Oct 29, 2020
d18b2bd
fix publication date
lauriejim Oct 29, 2020
a34dbc0
update data
lauriejim Oct 29, 2020
b3cf0ba
Merge pull request #58 from strapi/improvement/demo
lauriejim Oct 29, 2020
7d6dc7f
create footer data structure and content
lauriejim Nov 11, 2020
9c5fce9
Update README.md
malgamves Nov 9, 2020
a01486c
Update README.md
malgamves Nov 9, 2020
d4c3f3c
added fixes
malgamves Nov 11, 2020
9c026bc
Merge pull request #62 from strapi/content/footer
lauriejim Nov 19, 2020
279f4a7
Create universals pages
lauriejim Nov 19, 2020
02aea3c
Merge pull request #61 from malgamves/master
lauriejim Nov 19, 2020
58f95f7
Merge pull request #64 from strapi/universals
lauriejim Dec 2, 2020
3b8127e
Update README.md
ninogjoni Dec 9, 2020
badbdcd
adding page building func
malgamves Dec 18, 2020
8ce4985
added markdown support
malgamves Jan 5, 2021
30bee62
fix for failing test
malgamves Jan 5, 2021
1fc637b
added custom graphql query
malgamves Jan 5, 2021
68f1493
Publish footer data
lauriejim Jan 11, 2021
3ec5ef9
Migrate Strapi version to 3.4.1 (latest)
Mcastres Jan 12, 2021
0ce195b
changed foodadvisor data structure
malgamves Jan 12, 2021
53a23e7
Remove .strapi-updater.json file
Mcastres Jan 12, 2021
3a8b88d
Merge pull request #68 from strapi/migrate/3.4.1
alexandrebodin Jan 12, 2021
b7c9adb
Merge pull request #66 from ngjoni/patch-1
alexandrebodin Jan 12, 2021
5ae58d2
added footer-strapi functionality
malgamves Jan 12, 2021
269bfb4
fixed failing tests
malgamves Jan 14, 2021
25f2f10
Merge branch 'master' into universal-pages
malgamves Jan 14, 2021
4c79e20
error fixes
malgamves Jan 14, 2021
e3213ec
Merge branch 'universal-pages' of https://github.com/strapi/foodadvis…
malgamves Jan 14, 2021
e7651c1
added seed
malgamves Jan 15, 2021
2e3f3ea
fixes r.e code review
malgamves Jan 18, 2021
b17f25e
fixed failing lint
malgamves Jan 25, 2021
89cf972
fixed prop typo
malgamves Jan 26, 2021
f8a47c1
Merge pull request #67 from strapi/universal-pages
Mcastres Jan 26, 2021
abdd2c4
Created guided-tour plugin
soupette Feb 2, 2021
3b98a4c
Added tour
soupette Feb 2, 2021
beefd6c
Add nex apis in order to inject reactour
soupette Feb 2, 2021
aff69a9
Clean trad files
soupette Feb 2, 2021
982ef0e
Implement reactour
Mcastres Feb 5, 2021
7b79e30
Update tour
Mcastres Feb 9, 2021
f9cd42c
Upgrade strapi version
Mcastres Feb 9, 2021
f79133d
useEffect: add the tour, pluginId, actualPlugin to the dependency array
Mcastres Feb 9, 2021
7ab95d6
Merge pull request #70 from strapi/features/guided-tour
Mcastres Feb 9, 2021
8fcd8ff
Update dep
Mcastres Feb 9, 2021
6e450e0
Merge pull request #71 from strapi/features/guided-tour-dep
soupette Feb 9, 2021
ab6ee32
Upgrade Strapi 3.4.6
Mcastres Feb 9, 2021
8131ece
Merge pull request #72 from strapi/upgrade/3.4.6
Mcastres Feb 9, 2021
615bb10
Upgrade Strapi v3.5.0 and fix links
Mcastres Feb 18, 2021
32aaf6d
Merge pull request #74 from strapi/upgrade/v3.5.0
Mcastres Feb 24, 2021
003607a
Upgrade Strapi 3.5.1 and fix data.zip
Mcastres Feb 24, 2021
0606aa3
Merge pull request #76 from strapi/upgrade/v3.5.1
Mcastres Mar 10, 2021
645a028
Migreate to beta.6
soupette Apr 13, 2021
a6698ab
Integrate i18n
Mcastres Apr 22, 2021
9bae014
Integrate i18n
Mcastres Apr 22, 2021
552a66c
Push data.zip with locales already created
Mcastres Apr 27, 2021
0cca51a
soupette's review
Mcastres Apr 28, 2021
a9e258a
Merge pull request #79 from strapi/integrate/i18n
Mcastres May 4, 2021
3e6bda4
Ugrade to 3.6.1
Mcastres May 6, 2021
32adbd1
FoodAdvisor v2
Mcastres May 27, 2021
4247f38
Implement i18n
Mcastres Jun 8, 2021
24b11c5
Refacto
Mcastres Jun 9, 2021
941db33
New push
Mcastres Jun 15, 2021
df58164
Update README.md
JoaoGadelha Jun 25, 2021
2f74c1d
Merge pull request #1 from JoaoGadelha/fixing-readme-typo
JoaoGadelha Jun 25, 2021
f1d766e
Preview
Mcastres Jun 29, 2021
4879a43
Refacto
Mcastres Jun 30, 2021
c5985d1
Final refacto
Mcastres Jul 1, 2021
7101c9e
Create data
Mcastres Jul 2, 2021
c6cf255
More
Mcastres Jul 3, 2021
2ecaff3
Dump
Mcastres Jul 4, 2021
95fa922
Adding last elements
Mcastres Jul 5, 2021
d02e90b
New dump
Mcastres Jul 5, 2021
27af0f2
Upgrade Strapi version
Mcastres Jul 5, 2021
f78fb35
Remove old client
Mcastres Jul 5, 2021
c43a3e9
Fabien comments & fix issues & new data.zip
Mcastres Jul 13, 2021
17843c6
Basic uuid
Mcastres Jul 13, 2021
a51661c
Update README.md
Mcastres Jul 13, 2021
99e1fec
Update seo component
Mcastres Jul 13, 2021
993cf69
Add .gitpod.yml file
Mcastres Jul 15, 2021
7dfc626
Fix indentation
Mcastres Jul 15, 2021
607241e
Fix folder location
Mcastres Jul 15, 2021
f6a5f14
GitPod
Mcastres Jul 15, 2021
6405e21
Handle API_URL on Gitpod
Mcastres Jul 15, 2021
c836d7e
Handle ENV variables
Mcastres Jul 15, 2021
a0ccda9
Handle Gitpod in uuid
Mcastres Jul 15, 2021
23f2f91
Handle Gitpod in uuid 2
Mcastres Jul 15, 2021
278000a
Update README.md
Mcastres Jul 15, 2021
a40c063
Fix SEO components rules and typo in tour
Mcastres Jul 20, 2021
af7b49f
Remove SEO components char length
Mcastres Jul 22, 2021
39e20ea
Add fs-extra package
Mcastres Jul 26, 2021
4e2b061
Draft system
Mcastres Jul 26, 2021
1754db0
Update .gitpod file
Mcastres Jul 27, 2021
3a6ac86
Codesandbox tests
Mcastres Jul 27, 2021
3c2e877
Codesandox file & optimization of images
Mcastres Jul 28, 2021
e98e5af
Update name in package.json
Mcastres Jul 28, 2021
ecbf302
Update name in package.json
Mcastres Jul 28, 2021
39e91ac
Responsive design
Mcastres Aug 4, 2021
7789bff
Update gitpod file
Mcastres Aug 4, 2021
a81dc80
Update gitpod file
Mcastres Aug 4, 2021
c0e3694
Update gitpod file
Mcastres Aug 4, 2021
4bfbba1
404 instead of error
Mcastres Aug 24, 2021
022223c
Fix path to services/api
Mcastres Sep 1, 2021
6162cd7
Add missing small & thumbnail images
Mcastres Sep 6, 2021
89ef9d9
Merge branch 'v2' of https://github.com/strapi/foodadvisor into v2
Mcastres Sep 6, 2021
d34a0fa
Merge pull request #82 from strapi/v2
alexandrebodin Sep 15, 2021
3423b25
Create SECURITY.md
sartoshi-foot-dao Sep 22, 2021
efcedd2
Merge pull request #88 from zidingz/patch-1
Mcastres Sep 24, 2021
3626b72
Update gitpod node versions
Mcastres Oct 13, 2021
508c734
Merge pull request #91 from strapi/fix/gitpod
Mcastres Oct 19, 2021
6792203
Migrate data to v4.beta13
Mcastres Nov 26, 2021
293eaf6
v4
Mcastres Dec 10, 2021
0d837e5
Remove useless plugin preview
soupette Dec 10, 2021
4fb1377
Remove plugin review-content
soupette Dec 10, 2021
f76840d
improvements
Mcastres Dec 10, 2021
5c7309b
v4 last commit?
Mcastres Dec 13, 2021
62de633
Adding cron and removing qs package
Mcastres Dec 13, 2021
117f277
Random uuid
Mcastres Dec 13, 2021
87734bc
Remove log CT
Mcastres Dec 13, 2021
fcb0e95
Update README.md
Mcastres Dec 14, 2021
7d50435
Merge pull request #96 from strapi/remove-plugins
Mcastres Dec 17, 2021
d75af8e
Fix heading level in README
modkaffes Feb 3, 2022
10042ac
Fix typo in tailwind config
modkaffes Feb 4, 2022
f7e3767
fix blocks not showing on restaurant page
smuriu Feb 23, 2022
e9b6e2d
also populate buttons.link in blocks for single types
smuriu Feb 23, 2022
28aa9e5
Merge pull request #99 from modkaffes/fix/tailwind-config-typo
Mcastres Feb 28, 2022
76ecf76
Merge pull request #100 from smuriu/master
Mcastres Mar 1, 2022
0ef90c3
Merge pull request #98 from modkaffes/fix/readme-typo
Mcastres Mar 1, 2022
47cc6d0
Merge branch 'master' into master
Mcastres Mar 1, 2022
5a13bed
Merge pull request #81 from JoaoGadelha/master
Mcastres Mar 1, 2022
12c0d63
Upgrade: 4.1.1
Mcastres Mar 3, 2022
1ad8c6b
Chore: Update uuid
Mcastres Mar 3, 2022
d5b5aa9
Merge pull request #101 from strapi/v4.1.1
Mcastres Mar 7, 2022
d950cb2
Upgrade: Strapi version to 4.3.4
Mcastres Aug 18, 2022
30044c0
Upgrade: 4.3.6
Mcastres Aug 31, 2022
15060cd
Update: travis file
Mcastres Aug 31, 2022
140def9
Remove: travis file
Mcastres Aug 31, 2022
f6d5710
Merge pull request #108 from strapi/4.3.4
Mcastres Sep 7, 2022
2fcfde3
Add: publication workflow workaround
Mcastres Sep 8, 2022
5153376
Add: publication workflow workaroud
Mcastres Sep 14, 2022
8b190a7
Chore: update the data.zip without any admin users created
Mcastres Sep 14, 2022
9b1f15a
Merge pull request #110 from strapi/fix/default-admin-already-created
Mcastres Sep 15, 2022
ac157b8
Fix issues
Mcastres Sep 23, 2022
f0e1c53
Merge branch 'master' into demo/publication-system-workflow
Mcastres Sep 23, 2022
87885cd
Fix data.zip conflict
Mcastres Sep 23, 2022
eff4bb1
Upgrade: strapi to 4.4.1
Mcastres Sep 30, 2022
8840f4a
Chore: Derrick's review
Mcastres Oct 5, 2022
e9e49fa
Fix: put u&p dependencies back in package.json
Mcastres Oct 10, 2022
e888862
Fix: seed.js
Mcastres Oct 14, 2022
f6bfcf6
Comment: remove useless comments
Mcastres Oct 14, 2022
6b925a1
Fix: uploads seed move
Mcastres Oct 14, 2022
f0138e7
Fix: data.zip
Mcastres Oct 19, 2022
3ed1583
Review: Derrick's review
Mcastres Oct 24, 2022
43c5085
Merge pull request #109 from strapi/demo/publication-system-workflow
Mcastres Nov 4, 2022
3e80b7f
Update README.md
Mcastres Nov 4, 2022
41fef09
Merge pull request #114 from strapi/Mcastres-patch-1
Mcastres Nov 4, 2022
c55ae7d
Chore: upgrade Next.js, clean, and add some features
Mcastres Nov 17, 2022
7c5baec
Chore: new data.zip
Mcastres Nov 18, 2022
2f8f600
Chore: update node 14 as min
Mcastres Nov 23, 2022
f9ec6f3
Merge pull request #115 from strapi/chore/upgrade-next-clean
Mcastres Nov 23, 2022
aa1f2b6
Chore: remove internal comment compo
Mcastres Nov 24, 2022
5dd6409
Merge pull request #116 from strapi/chore/remove-internal-comment-com…
Mcastres Nov 24, 2022
854c83a
Fix localhost fetch issue
pierreburgy Dec 14, 2022
571b0b8
Upgrade to 4.6.1
Mcastres Feb 9, 2023
016b8e6
Upgrade to 4.6.1
Mcastres Feb 9, 2023
3339d66
Merge pull request #120 from strapi/upgrade/4.6.1
Mcastres Feb 13, 2023
3df9713
Add: strapi/plugin-seo
Mcastres Feb 16, 2023
86d58b1
Merge pull request #121 from strapi/add/seo-plugin
Mcastres Feb 20, 2023
27a579f
Chore: Add Strapi Cloud navlink
Mcastres Apr 11, 2023
d17cdcf
Chore: fix miss spelled salt
Mcastres Apr 12, 2023
43e25fb
Merge pull request #118 from strapi/fix-localhost
Mcastres Apr 12, 2023
46cc227
Fix: uuid
Mcastres May 30, 2023
dc529ec
Merge pull request #126 from strapi/chore/add-strapi-cloud-navlink
Mcastres May 30, 2023
063a06c
Update: a lot of things
Mcastres Jun 2, 2023
288340a
Update: package.json
Mcastres Jun 2, 2023
51b7c6d
Fix: if lang is not in URL
Mcastres Jun 2, 2023
0dec3ea
Fix: react warnings
Mcastres Jun 2, 2023
54731e0
Fix: display link to Strapi if env var exists
Mcastres Jun 2, 2023
f32eb6f
Chore: Fix window link
Mcastres Jun 6, 2023
ffa7f15
Upgrade: strapi to 4.11.5
Mcastres Jul 13, 2023
52ccf11
Upgrade: strapi to 4.12.beta.1
Mcastres Jul 13, 2023
553c0b0
Merge pull request #127 from strapi/chore/fixing-tailwing-plus-improv…
Mcastres Jul 19, 2023
7d014e3
Upgrade: Strapi 4.13.5
Mcastres Sep 13, 2023
8d572c3
Remove: custom uuid
Mcastres Sep 13, 2023
a676c69
Merge pull request #130 from strapi/upgrade/4.13.5
derrickmehaffy Sep 15, 2023
73886c9
Add: PR template
Mcastres Sep 19, 2023
1d764f7
Change nvm version to be compatible with required libraries.
tuzumkuru Nov 27, 2023
eabdf0f
Remove Strapi Cloud from readme
derrickmehaffy Dec 12, 2023
a333f1b
Merge pull request #136 from strapi/derrickmehaffy-patch-1
Mcastres Dec 18, 2023
16ccbc6
Merge pull request #134 from tuzumkuru/change-nvm-version
Mcastres Dec 18, 2023
af4abbf
Merge pull request #131 from strapi/chore/add-pr-template
Mcastres Jan 31, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
72 changes: 72 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
### What does it do?

Describe the technical changes you did.

### Why is it needed?

Describe the issue you are solving.

### How to test it?

Below are listed every action that should be possible within the application.

#### Content Manager

**Article**

List view:

- [ ] Publication Status is working
- [ ] Review Workflows assignees & filtering is working (EE)

Entry view:

- [ ] CKEditor field is working
- [ ] Assignees and Stages are working (EE)

**Page**

Entry view:

- [ ] Creating and publishing a page is working

#### Plugins

**Content-type Builder**

- [ ] Content-type Builder is working

**Media Library**

- [ ] Media Library is working (upload)
- [ ] Folders are working

#### Settings

- [ ] Marketplace is working
- [ ] API Tokens Interface
- [ ] Internationalization Interface
- [ ] Single Sign-On Settings
- [ ] Review Workflows
- Show custom created Workflow
- Drag N Drop is working
- Add new workflow stage is possible
- Colors drop down is working
- [ ] Webhooks
- Review Workflows Stage Change option
- [ ] Audit Logs
- List view
- Single log
- [ ] Roles
- Default Roles
- Create new role
- Show CRUD + Publish
- Field level
- Locale
- [ ] Users & Permissions
- Roles
- Add New Role

### Related issue(s)/PR(s)

Let us know if this is related to any issue/pull request
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
.DS_STORE
.DS_STORE
5 changes: 5 additions & 0 deletions .gitpod.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM gitpod/workspace-full:latest

RUN bash -c ". .nvm/nvm.sh && nvm install 16 && nvm use 16 && nvm alias default 16"

RUN echo "nvm use default &>/dev/null" >> ~/.bashrc.d/51-nvm-fix
26 changes: 26 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
image:
file: .gitpod.Dockerfile
tasks:
- name: Strapi
init: >
cd /workspace/foodadvisor/api &&
yarn install &&
yarn seed &&
echo STRAPI_ADMIN_CLIENT_PREVIEW_SECRET=ARNFCb9zrC9ZHm5hZzCigWivD40icS4s >> .env &&
echo STRAPI_ADMIN_CLIENT_URL=$(sed s#https://#https://3000-#g <<< $GITPOD_WORKSPACE_URL) >> .env &&
gp sync-done strapi
command: yarn develop
- name: Next.js
init: |
cd /workspace/foodadvisor/client &&
gp sync-await strapi
yarn install &&
sed -i "1s#.*#NEXT_PUBLIC_API_URL=$(sed s#https://#https://1337-#g <<< $GITPOD_WORKSPACE_URL)#" .env.development
command: yarn dev
ports:
- port: 1337
onOpen: open-browser
visibility: public
- port: 3000
onOpen: open-browser
visibility: public
2 changes: 1 addition & 1 deletion .prettierrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ module.exports = {
singleQuote: true,
tabWidth: 2,
trailingComma: 'es5',
};
};
34 changes: 0 additions & 34 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.
98 changes: 83 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,37 +1,105 @@
# FoodAdvisor Quick Start
# FoodAdvisor - Strapi Demo

## 1. Clone FoodAdvisor
![FoodAdvisor](./foodadvisor.png)

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](https://camo.githubusercontent.com/76e60919474807718793857d8eb615e7a50b18b04050577e5a35c19421f260a3/68747470733a2f2f676974706f642e696f2f627574746f6e2f6f70656e2d696e2d676974706f642e737667)](http://gitpod.io/#https://github.com/strapi/foodadvisor)

## 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](https://strapi.io/demo).

## Prerequisites

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

`Path: ./my-projects/`:
- 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
```

## 2. Start Strapi from the ./api folder
- Navigate to your project folder by running `cd foodadvisor`.

## 2. Start Strapi

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

Run the following from your command line:
- Run the following command in your `./foodadvisor/api` folder:

```
cd api && yarn && yarn run seed && yarn develop
yarn && yarn seed && yarn develop
```

Then, follow [Step 3. Create an admin user](https://strapi.io/documentation/3.0.0-beta.x/getting-started/quick-start-tutorial.html#_3-create-an-admin-user) to create an `Administrator`.
This will install the dependencies, fill your application with data and run your server. You can run these commands separately.

#### Credentials

You will find more information and options in the [**api** README](./api).
- Super Admin:
- email: admin@strapidemo.com
- password: welcomeToStrapi123

## 3. Start the front-end from the ./client folder
- Editor
- email: editor@strapidemo.com
- password: welcomeToStrapi123

`Path: ./my-projects/client/`:
- Author
- email: author@strapidemo.com
- password: welcomeToStrapi123

Run the following from your command line:
## 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

```
cd client && yarn install && yarn start
yarn && yarn dev
```

You will find more information and options in the [**client** README](./client).
This will install the dependencies, and run your server. You can run these commands separately.

## Features overview

### User

<br />

**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.<br />
**Media Library** Upload images, video or any files and crop and optimize their sizes, without quality loss.<br />
**Flexible content management** Build any type of category, section, format or flow to adapt to your needs. <br />
**Sort and Filter** Built-in sorting and filtering: you can manage thousands of entries without effort.<br />
**User-friendly interface** The most user-friendly open-source interface on the market.<br />
**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.<br /><br />

### Global

<br />

[Customizable API](https://strapi.io/features/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.<br />
[Media Library](https://strapi.io/features/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.<br />
[Role-Based Access Control (RBAC)](https://strapi.io/features/custom-roles-and-permissions): 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.<br />
[Internationalization (i18n)](https://strapi.io/features/internationalization): Internationalization (i18n) lets you create many content versions, also called locales, in different languages and for different countries.<br />
[Audit Logs](https://strapi.io/blog/reasons-and-best-practices-for-using-audit-logs-in-your-application)The Audit Logs section provides a searchable and filterable display of all activities performed by users of the Strapi application<br />
[Data transfer](https://strapi.io/blog/importing-exporting-and-transferring-data-with-the-strapi-cli) Streams your data from one Strapi instance to another Strapi instance.<br />
[Review Worfklows](https://docs.strapi.io/user-docs/settings/review-workflows) Create and manage any desired review stages for your content, enabling your team to collaborate in the content creation flow from draft to publication. <br />


## Resources

[Docs](https://docs.strapi.io) • [Demo](https://strapi.io/demo) • [Next.js Starter](https://github.com/strapi/nextjs-corporate-starter) • [Forum](https://forum.strapi.io/) • [Discord](https://discord.strapi.io) • [Youtube](https://www.youtube.com/c/Strapi/featured) • [Try Enterprise Edition](https://strapi.io/enterprise) • [Strapi Design System](https://design-system.strapi.io/) • [Marketplace](https://market.strapi.io/) • [Clou Free Trial](https://cloud.strapi.io)
5 changes: 5 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Security Policy

## Reporting a Vulnerability

Please report security issues to `demo@strapi.io`
4 changes: 4 additions & 0 deletions api/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
HOST=0.0.0.0
PORT=1337
STRAPI_ADMIN_CLIENT_URL=http://localhost:3000
STRAPI_ADMIN_CLIENT_PREVIEW_SECRET=ARNFCb9zrC9ZHm5hZzCigWivD40icS4s
2 changes: 2 additions & 0 deletions api/.eslintignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
.cache
build
**/node_modules/**
18 changes: 9 additions & 9 deletions api/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
"parser": "babel-eslint",
"extends": "eslint:recommended",
"env": {
"commonjs": true,
"es6": true,
"node": true,
"browser": false
"commonjs": true,
"es6": true,
"node": true,
"browser": false
},
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": false
},
"sourceType": "module"
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": false
},
"sourceType": "module"
},
"globals": {
"strapi": true
Expand Down
12 changes: 5 additions & 7 deletions api/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ ssl
.idea
nbproject
public/uploads/*
src/plugins/*
!public/uploads/.gitkeep

############################
Expand All @@ -95,23 +96,20 @@ results
node_modules
.node_history


############################
# Tests
############################

testApp
coverage


# Custom

!data.zip

############################
# Strapi
############################

.env
license.txt
exports
.cache
*.cache
build
.strapi-updater.json
Loading