Skip to content

donaldp/deta-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deta

This repo contains example apps you can build with Deta products.

Getting Started

Clone repo

git clone https://github.com/donaldp/deta-examples.git

Install dependencies

cd deta-examples
npm i

Set Deta Project Key

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>

Deta Session Store

To test the Deta Session Store, run the following command:

npm run start

The source code can be found under the src/Sessions directory.

Deta Factory (Seeder)

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published