bonjour-go

command module
Version: v0.0.0-...-f6e0bc2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2020 License: MIT Imports: 3 Imported by: 0

README

Backend for Bonjour chat built with Go and MySQL which has features such as login / register using JWT, pasword hashing, CORS, etc.

📝 Table Of Content

Prerequisites

  • Go installed on the local machine
  • MySQL intalled on the local machine (ex. XAMPP)

Installation

  1. Clone this repository: git clone https://github.com/danielwetan/bonjour-go
  2. Start XAMPP
  3. Database configuration:
    • Open http://localhost/phpmyadmin in the browser
    • Create a new table with the name bonjour
    • Import database to current table, select bonjour.sql file from project folder
  4. Start the server: go run main.go
  5. Run app in the browser on the port http://localhost:3000

Features

  • CRUD
  • Cors
  • Login/Register
  • Password hashing
  • JWT Authentication
  • Redis
  • Socket.io

Built with

  • Go - Programming language
  • MySQL Database
  • Bcrypt - Password Hashing

Author

License

This project is licensed under the MIT License - see the LICENSE file for details

Documentation

The Go Gopher

There is no documentation for this package.

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL