项目作者: samyounger

项目描述 :
A holiday letting website
高级语言: Ruby
项目地址: git://github.com/samyounger/the_neuk_api.git
创建时间: 2017-04-22T12:22:54Z
项目社区:https://github.com/samyounger/the_neuk_api

开源协议:

下载


The Neuk Server

  1. DESCRIPTION: The Neuk API is is an application that will be the back-end of the_neuk_frontend application. As a whole it is a website to manage the property The Neuk in Kames, Scotland which is to be let to holiday makers. It will give guests the ability to create bookings and pay, and view their bookings with relevant guest information. It will also serve as a blogging website and listing events to give guests information on the local area for site and attractions to visit.

Get Started

Set these environment variables:

  1. # Where to store images that get rendered to various sections of the page
  2. S3_BUCKET_NAME
  3. # Create an AWS role to access an S3 bucket
  4. AWS_ACCESS_KEY_ID
  5. AWS_SECRET_ACCESS_KEY
  6. AWS_REGION
  7. # Required for JWT authentication, generate a random hex
  8. AUTH_SECRET

This is a rails application. To start it on your local host, in your terminal run:

  1. $ git clone git@github.com:samyounger/the_neuk.git
  2. $ bundle
  3. $ rails db:create
  4. $ rails db:migrate
  5. $ rails s

And you should be good to go :thumbsup:


User authentication

Json Web Token (JWT) authentication has been implemented. Instructions on setup HERE


The Neuk Client

A property letting and management website for a property on the West Coast of Scotland, Kames.

The front-end is built with ReactJS, Webpack, and Gulp.

Start the project:

  1. $ yarn start