A Q&A site where anyone with access to the site can post questions and selected admins (domain experts) have access to the CMS to answer them.
git clone https://github.com/srijan-nayak/Questo.git
cd Questo
npm install
First create a Sanity project and copy the project ID and dataset
for the created project. Also, create and copy a robot API token.
Then, with the .env.local.example
file as a template, create a .env.local
file
in the project root and replace the values with the previously copied ones.
cp .env.local.example .env.local
# edit .env.local to replace the dummy values with appropriate ones
Add http://localhost:3000
to the CORS origins of the Sanity project.
npm run dev
The application will be accessible on localhost:3000.