- Testing Strapi alpha version to create a node.js driven CMS with GraphQL API.
- Built a simple React Native app with some routes to display Strapi data
Strapi code is located in the cms directory.
Start MongoDB:
$ mongod --config /usr/local/etc/mongod.conf
Start Strapi:
$ strapi start
CMS URL:
http://localhost:1337/admin
POST http://localhost:1337/auth/local
Post body:
{
"identifier": "user@strapi.io",
"password": "strapiPassword"
}
{
events {
id
event_title
event_date
event_image {
url
name
}
talks {
id
talk_name
talk_time
talk_description
speakers {
id
speaker_name
speaker_job
speaker_photo {
url
name
}
speaker_biography
}
}
}
}
{
events {
id
event_title
event_date
event_image {
url
name
}
}
}
{
event(id: "5ceced5c85df3bb5e1d47aa0") {
id
event_title
event_date
event_image {
url
name
}
}
}