GithubHelp home page GithubHelp logo

project-persephone's Introduction

Project Persephone

Name to be decided later.

Running The Project

You need Go. Which version? I dont know. Get the latest one till I pull a Dockerfile.

Clone the repository, chdir into the repository/src, run

docker compose up -d
go mod tidy
curl -sSfL https://raw.githubusercontent.com/cosmtrek/air/master/install.sh | sh -s -- -b $(go env GOPATH)/bin
$(go env GOPATH)/bin/air 

this is very, very, very WIP project. I dont even know what is happening here anymore tbh.

project-persephone's People

Contributors

caner-cetin avatar

Watchers

 avatar

project-persephone's Issues

CI with unit testing, CD to be decided later

Need to run unit tests on every commit to the master.

Might split up as master/test and push from test to master if unit tests pass at test branch.

CD to be decided later, but %100 change it will be a deployment stage on EC2 server with Docker container.

places db table design

Corresponding struct lies in helpers.go

type Restaurant struct {
	Name         string
	Cuisine      string
	OpeningHours string
	Phone        string
	Website      string
	Address      string
	Latitude     float64
	Longitude    float64
}

use structs in unit tests instead of raw json payloads

Change

`
{
    "email":"[email protected]",
    "username":"canercezarapyapardostlar",
    "password":"123$sagopaHaksizdi",
    "test":true,
    "phoneNumber": "+905555555555",
    "city": "BURSA",
    "country": "TURKEY"
}`

to

	var payload UserSignupRequest
	payload.Email = "[email protected]"
	payload.Username = "canercezarapyapardostlar"
	payload.Password = "123$sagopaHaksizdi"
	payload.Test = true
	payload.PhoneNum = "+905555555555"
	payload.City = "BURSA"
	payload.Country = "TURKEY"

unit tests should also aim for showing future contributors to how things works around.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.