mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-14 12:14:33 +01:00
Rename the project
Signed-off-by: Arthur DANJOU <arthurdanjou@outlook.fr>
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
FROM node:15.8.0-alpine3.10
|
||||
|
||||
RUN mkdir -p /usr/src/artapi
|
||||
WORKDIR /usr/src/artapi
|
||||
RUN mkdir -p /usr/src/athena
|
||||
WORKDIR /usr/src/athena
|
||||
|
||||
COPY . /usr/src/artapi
|
||||
COPY . /usr/src/athena
|
||||
|
||||
RUN apk update && \
|
||||
apk add git
|
||||
@@ -14,7 +14,7 @@ RUN yarn build
|
||||
|
||||
RUN cp .env build
|
||||
|
||||
WORKDIR /usr/src/artapi/build
|
||||
WORKDIR /usr/src/athena/build
|
||||
|
||||
RUN yarn install --production
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# ArtApi 🧠
|
||||
# Athena 🧠
|
||||
|
||||
ArtAPi is my personnal api connected to my instances
|
||||
Athena is my personal api connected to my instances
|
||||
|
||||
## Features ✨
|
||||
|
||||
@@ -26,4 +26,4 @@ ArtAPi is my personnal api connected to my instances
|
||||
|
||||
## License 📑
|
||||
Copyright © 2020 - [@ArthurDanj](https://arthurdanjou.fr) \
|
||||
This project is [MIT](https://github.com/ArthurDanjou/artapi/blob/master/LICENSE) Licensed.
|
||||
This project is [MIT](https://github.com/ArthurDanjou/athena/blob/master/LICENSE) Licensed.
|
||||
|
||||
@@ -40,7 +40,7 @@ const redisConfig: RedisConfig = {
|
||||
port: Env.get('REDIS_PORT'),
|
||||
password: Env.get('REDIS_PASSWORD', ''),
|
||||
db: Env.get('REDIS_DB', 0),
|
||||
keyPrefix: 'artapi:',
|
||||
keyPrefix: 'athena:',
|
||||
healthCheck: true
|
||||
},
|
||||
},
|
||||
|
||||
@@ -36,7 +36,7 @@ const sessionConfig: SessionConfig = {
|
||||
| The name of the cookie that will hold the session id.
|
||||
|
|
||||
*/
|
||||
cookieName: 'artapi-session',
|
||||
cookieName: 'athena-session',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "artapi",
|
||||
"name": "athena",
|
||||
"version": "1.0.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import './artsite'
|
||||
import './artapi'
|
||||
import './api'
|
||||
import './auth'
|
||||
import './home'
|
||||
|
||||
Reference in New Issue
Block a user