• Stars
    star
    150
  • Rank 239,277 (Top 5 %)
  • Language
    Elixir
  • License
    Other
  • Created about 8 years ago
  • Updated over 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

An experimental ecommerce thing for Elixir

An eCommerce Experiment with Elixir and OTP

Peach is an API-only eCommerce storefront. For now there is no templating, no HTML, etc - it's just an API. I started out with Phoenix and decided that it didn't quite fit what I wanted so I switch over to Maru - a small, Grape-inspired API front end. It fits perfectly.

I also was thinking about Trot but decided that I wanted to leave the CMS/HTML stuff to a framework or application that is very good at it; Peach can be just one part of the puzzle.

I've been writing a blog series about creating an eCommerce store with Elixir and I plan to continue on, as this is an application that I'll need very soon. You're welcome to help :).

Installing

You'll need a database (Postgres) called redfour:

createdb redfour

Update the config files in the web app to use your connection. Next you'll need a Stripe key for stripity-stripe; put that in /config/dev.secret.exs so you can make charges.

You can start everything up with:

mix peach.start

Tests

I have the core catalog and cart stuff started out, but have changed course enough times that I had to rip the bulk of the tests out as I mused on architecture. I need more tests, obviously, especially for the API which (according to the docs) is pretty simple to do.

You can run the tests (once you have the database created) using mix test --trace.

More Repositories

1

moebius

A functional query tool for Elixir
Elixir
596
star
2

dox

A Document Database API extension for Postgres
PLpgSQL
191
star
3

congo

A MongoDB Explorer written in Backbone using Twitter Bootstrap. Part of Tekpub's Backbone.series
JavaScript
136
star
4

pg-auth

A complete authentication system built in Postgres using schemas and functions
PLpgSQL
119
star
5

meteor-shop

A demo eCommerce site using Meteor.js - the code for this site can also be seen at Pluralsight.
JavaScript
117
star
6

mvc3

Code and Resources for Real-World ASP.NET MVC3
C#
107
star
7

ng-mongo

A MongoDB Explorer written on top of AngularJS and Node/Express
JavaScript
85
star
8

knockout-cart

A simple browser-based shopping cart that uses local storage, powered by KnockoutJS
JavaScript
82
star
9

mvcmusic

Harder Faster Better Stronger
C#
78
star
10

pg_docs_api

A simple abstraction for working with PostgreSQL as a Document Database
41
star
11

vim-settings

My vim action
Vim Script
37
star
12

dvdrental

The DVD Rental Scripts for Pluralsight's Postgres for .NET Developers
19
star
13

json-sales-data

A data generator for creating detailed, real-world sales data with fullfillments
JavaScript
19
star
14

azx

Azure App Services made easy
JavaScript
17
star
15

Vue.Starter

The ASP.NET Vue Starter Template
Vue
17
star
16

pg-dvdrental

The DVD Rental Sample App created for a Pluralsight Video
C#
13
star
17

node-application-patterns

JavaScript
13
star
18

node-pg-start

A Postgres-centric Node JS starter app built with Tailwind CSS and Express
CSS
8
star
19

azx.ms

Azure scripts made easy
CSS
8
star
20

little-sql

The Code for the Little SQL Book
Shell
6
star
21

dotnet-template

A template for you to create your own .NET template
6
star
22

js-inferno

Code for the Javascript Inferno talk
JavaScript
5
star
23

Svelte.Starter

The ASP.NET Svelte Starter Template with ASP.NET Minimal API, Svelte 3.0 and Tailwind
JavaScript
4
star
24

azure-project

A Heroku-inspired CLI for Azure's web applications
JavaScript
3
star
25

nuxt-walkthrough

The code for the Nuxt walkthrough vids
Vue
3
star
26

froggy-membership

Membership module for FroggyFrog
JavaScript
3
star
27

asp-js-docs

Using Vue, Angular and React with ASP.NET and Minimal API
Vue
2
star
28

capistrano-rails-server

Capistrano recipes for building a Rails 3/Nginx/Unicorn/Postgres/Memcached/Redis server, inspired by Railscasts
Ruby
2
star
29

troys-book

A repository for feedback on Troy Hunt's book.
2
star
30

Hacking-WebMatrix

The WebMatrix site built up for the Hacking WebMatrix series
C#
1
star
31

node-mongo-start

An Express app with Mongo DB starter, designed to work with Cosmos DB
CSS
1
star
32

velzy

JavaScript
1
star
33

rob.conery.io

My blog
JavaScript
1
star