This repo contains example apps you can build with Deta products.
git clone https://github.com/donaldp/deta-examples.git
cd deta-examples
npm i
Copy the .env.example
file to .env
:
cp .env.example .env
When done, head over to Deta > Settings and create a new Project Key.
After creating the key, add it to the .env
file:
DETA_KEY=<PROJECT-KEY>
To test the Deta Session Store, run the following command:
npm run start
The source code can be found under the
src/Sessions
directory.
To test the Deta Seeder, run the following command:
npm run db:seed
When done, go to your Deta dashboard, you should have a users
and a contacts
Base.
The source code can be found under the
src/Factories
directory.