Skip to content

Wildsong/svelte-parcel

Repository files navigation

svelte-parcel

A template for creating apps based on Svelte and Parcel. It runs in a Docker container.

Use it as a template

Create a new app based on this template.

mkdir svelte-app
cd svelte-app
npx degit Wildsong/svelte-parcel

Install the dependencies. Then start it.

docker-compose --file=docker-compose.debug.yml up

OAUTH

I am adding support for logging in over OAUTH because every project I have in mind needs this.

For work, what I will need is to be able to authenticate using Active Directory.

I started out with Auth0 because it seemed like their tutorial was good. Also, the free tier is very generous.

I will probably delete a lot of this code once I have a better handle on OAUTH.

oauth/ Sample using Google OAUTH

oauth-auth0/ Sample using Auth0

Customization

Obviously this is not a full application so next you hang your own code on this framework. I do lots of map-based apps so I have sample OpenLayers code. You probably want to delete that.

I added a navbar. Now I will be adding OAUTH2 support. This project will probably never be done.

Deploying to the web

I have that automated a simple rsync with

npm run deploy

You must edit "package.json" to change the rsync command because you can't deploy to my server.

Resources

I relied heavily on the book "Practical Svelte" by Alex Libby. **You should join the ACM.

About

A template for creating apps based on Svelte and Parcel.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •